Re: Confusion about templates directory location

2006-03-19 Thread Luke Skibinski Holt
> you need to restart the server to find them. the development server? fcgi? apache? I've found I've never needed to restart a server in order to discover new templates - even with dreamhost + fcgi ;) my dir structure looks like: /projectname /src /media /docs /templates I've fo

Re: Confusion about templates directory location

2006-03-15 Thread DavidA
Thanks. After thinking about it some more, now the idea of having app directories beneath the templates directory makes sense: I will have a project-level banner and nav bar that will be used by multiple apps. So I moved my templates directory back to where it was, right under the project director

Re: Confusion about templates directory location

2006-03-14 Thread Max Battcher
DavidA wrote: > But then the template loaders always want to look for a template within > yet another app subdirectory (i.e. TEMPLATE_DIRS + '/myapp/base.html'). > Isn't that redundant? It seems if my TEMPLATE_DIR is "x" and my > template is "y" the loader should try and load "x/y" not "x//y". > W

Confusion about templates directory location

2006-03-14 Thread DavidA
I'm a little confused about the "right" place to put templates for an app. In my mind, the templates are going to be specific to the application, thus the obvious place to put the templates directory is in the app directory. Ex: /some_path/ myproject/ myapp/ models