On Tue, 2008-11-11 at 20:05 -0800, [EMAIL PROTECTED] wrote: > Hello, > > I'm getting this error and the missing template IS in the template > directory defined in settings.py and views.py
Everything looks correct visually, with one exception: > > # SETTINGS.PY > TEMPLATE_DIRS = ( > # Put strings here, like "/home/html/django_templates" or "C:/www/ > django/templates". > # Always use forward slashes, even on Windows. > # Don't forget to use absolute paths, not relative paths. > '/home/projects/django_templates/SITENAME' If this is the only entry in TEMPLATE_DIRS, you will need to put a trailing comma there, since ("some_string") is not a tuple in Python and ("some_string",) is. That's a common error. You don't say how you're testing this. Does it only fail with a webserver like Apache (and works with the development server)? In that case, I'd suspect directory permissions. If it also fails with the development server, do other templates from the SITENAME/polls/ directory load correctly? Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---