python - Django Filer getting 'thumbnail' is not a valid tag library error to do with ImageChop -


i have installed django-filer following instructions on github page. running django 1.4.5 on python 2.7

some parts of settings.py app:

installed_apps = (     'django.contrib.auth',     'django.contrib.contenttypes',     'django.contrib.sessions',     'django.contrib.sites',     'django.contrib.messages',     'django.contrib.staticfiles',     'cms',      'mptt',     'menus',     'south',     'sekizai',     'cms.plugins.file',     #'cms.plugins.picture',     'cms.plugins.text',     'cms.plugins.twitter',     'django.contrib.admin',     'easy_thumbnails',     'filer',     'mptt',     'cmsplugin_nivoslider',     #'sorl.thumbnail',     # uncomment next line enable admin documentation:     # 'django.contrib.admindocs', )  thumbnail_processors = (     'easy_thumbnails.processors.colorspace',     'cmsplugin_nivoslider.thumbnail_processors.pad_image',     'easy_thumbnails.processors.autocrop',     'filer.thumbnail_processors.scale_and_crop_with_subject_location',     'easy_thumbnails.processors.filters', ) 

you may have noticed trying nivoslider work too. (the real reason of having django-filer although think useful anyway.)

i relative newbie django-cms else saying because haven't installed easy_thumbnail in installed apps. have , have run syncdb command (several times)

i little @ loss here , appreciate available.

the error missing template tag library syncdb not going help. uncommenting sorl.thumbnails in settings.installed_apps (or removing reference 'thumbnails' tags lib templates if don't use lib) more solve problem.

[edit] thumbnail templatetags lib supposed provided easy_thumbnails, have in installed_apps - iow should justwork. either there's broken in install or, well, don't know. try import thumbnail module django shell , see if better traceback ?

# easy_thumbnails.templatetags import thumbnail 

[/edit]


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -