diff --git a/directions/views.py b/directions/views.py index 51a742fe91..110b2fe777 100644 --- a/directions/views.py +++ b/directions/views.py @@ -196,7 +196,6 @@ def gen_pdf_dir(request): pdfmetrics.registerFont(TTFont('OpenSansBold', os.path.join(FONTS_FOLDER, 'OpenSans-Bold.ttf'))) pdfmetrics.registerFont(TTFont('TimesNewRoman', os.path.join(FONTS_FOLDER, 'TimesNewRoman.ttf'))) - dn = ( Napravleniya.objects.filter(pk__in=direction_id) .prefetch_related(