You are not logged in.
Hello,
I just installed my django app onto the webfaction servers. However, when I try to access my app I get the following error:
TemplateSyntaxError at /
'sc_details' is not a valid tag library: Could not load template library from django.templatetags.sc_details, No module named us.forms
////////////
I'm not sure why it's looking in django.templatetags.sc_details. I have a folder from within my app myproject.plush.templatetags.sc_details. That is where my sc_details file is located. Do I somehow need to tell Django where to look to view my custom tag?
Thanks
Offline
Hello,
1) Has "myproject.plush" been added to INSTALLED_APPS in settings.py?
2) What line in your template is throwing the error?
Last edited by IAIHMB (2007-10-24 10:01:20)
Offline
IAIHMB,
Here is what I have in Installed Apps
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'myproject.plush',
)
Line 2 in my template is throwing the error
In template /home/plush/webapps/plush/myproject/plush/Templates/leftnav.htm, error at line 2
{% load sc_details %}
Offline
I'm willing to bet that you're trying to to import a unavailable module in your sc_details template tag file. Check that out.
Offline