Hey,
My Django project has the  following structure:
+++
djcode
       # Django files (urls.py ...)
       templates (for storing template pages)
       books
            # books application files (models.py ...)
            publisher_list.html
+++
Here is a snippet from settings.py
TEMPLATE_DIRS = (
    os.path.join(os.path.dirname(__file__), 'templates'),
)

But when I'm trying to access publisher_list.html , I got this
exception:
/media/sda4/Projects/djcode/djdrive/templates/books/
publisher_list.html
TemplateDoesNotExist

I tried to add books folder to TEMPATES_DIRS, but I got the same
exception:
/media/sda4/Projects/djcode/djdrive/books/books/publisher_list.html
TemplateDoesNotExist

Any ideas?
#Platform Django 1.0.2
Thanks for help.


--~--~---------~--~----~------------~-------~--~----~
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 
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