Re: Templates dir exception

2009-01-04 Thread Santiago
I tend to use: TEMPLATE_DIRS = ( os.getcwd()+'/static/templates' ) so when using generic views it goes to os.getcwd()+'/static/templates/' this lets me have my proyect live in different folders and run fine... in your case it is specting a directory tree like this:

Re: Templates dir exception

2009-01-04 Thread knight
I think you can try accessing books/publisher_list.html instead of just publisher_list.html This should solve the problem, if I understand it correctly. Regards, Alex A. On Jan 4, 11:11 am, HB wrote: > Hey, > My Django project has the  following structure: > +++ > djcode

Templates dir exception

2009-01-04 Thread HB
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