Ok you're right now works!
I have confused clevercss with dlevercss...and I have forgotten that
Django module dlevercss requires clevercss python library.



On 13 Mar, 04:23, Karen Tracey <kmtra...@gmail.com> wrote:
> On Fri, Mar 12, 2010 at 11:37 AM, mrsource <mrsou...@gmail.com> wrote:
> > I have plugged dlevercss application to my Django project. In local
> > environment (windows xp - python 2.6) I have no errors, but in public
> > server (Ubuntu linux- python 2.5 - WSGI container), I get this error:
> > " 'dlevercss_tags' is not a valid tag library: Could not load template
> > library from django.templatetags.dlevercss_tags, No module named
> > clevercss"
>
> Sounds like the public server does not have clevercss installed. clevercss
> is imported by dlevercss_tags.py, and you'll get this error if that import
> fails.
>
> > The strange thing is that the template tag loaders try to load it from
> > django.templatetags module instead of his path. I placed dlevercss
> > module under site-packges folder and that path is included in the Path
> > variable as I can see from the Django debug output.
>
> The error message is misleading. The Django code actually attempts to load
> tag libraries from any templatetags module found under every application
> listed in INSTALLED_APPS. dlevercss_tags.py was found, the problem is the
> import of clevercss inside it is failing.
>
> Karen

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to