From 72333b9ba8f85f0f200e5a96849be97c94c42f96 Mon Sep 17 00:00:00 2001 From: "Denis V. Dedkov" Date: Wed, 17 Jun 2015 10:12:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A2=D1=83=D0=BC=D0=B1=D1=8B=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Включил тумбы для pdf Необходимо убедиться, что установлен ImageMagic --- record/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/record/settings.py b/record/settings.py index f0d872e..110b536 100644 --- a/record/settings.py +++ b/record/settings.py @@ -92,3 +92,5 @@ TEMPLATE_CONTEXT_PROCESSORS += ('django.core.context_processors.request',) MEDIA_ROOT = 'media/' MEDIA_URL = 'http://127.0.0.1:8000/media/' + +THUMBNAIL_ENGINE = 'sorl.thumbnail.engines.convert_engine.Engine'