Browse Source

Тумбы для pdf

Включил тумбы для pdf
Необходимо убедиться, что установлен ImageMagic
Denis V. Dedkov 10 years ago
parent
commit
72333b9ba8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      record/settings.py

+ 2 - 0
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'