install sorl.thumbnail gives 'thumbnail' is not a valid tag library'

28 views
Skip to first unread message

Danielle

unread,
Nov 6, 2009, 4:57:13 AM11/6/09
to Django developers
I am trying to install sorl.thumbnail but am getting the following
error message:

'thumbnail' is not a valid tag library: Could not load template
library from django.templatetags.thumbnail, No module named PIL

I have placed the sorl folder in my project folder
I have placed 'sorl.thumbnaills' under installed apps
and finally placed {% load thumbnail %} in base.html

$python2.5
>>>import PIL
works

Using python2.5, on ubuntu 9.04 with django 1.1 with appengine-patch

What is causing the problem and how to solve?

Karen Tracey

unread,
Nov 6, 2009, 9:20:49 AM11/6/09
to django-d...@googlegroups.com
This list is for discussing the development of Django itself.  Please direct questions about using Django to django-users.

Karen

Danielle

unread,
Nov 7, 2009, 3:10:58 PM11/7/09
to Django developers
Now i understand the distinction, sorry about that.
Reply all
Reply to author
Forward
0 new messages