On Mon, 2007-02-12 at 20:19 -0800, kbochert wrote: > >From the tutorial I see that a project directory looks like: > > Project > App > models.py > views.py > Templates > App > index.htm > Admin > > Doesn't it make more sense to have: > > Project > App > models.py > views.py > Templates > index.htm > Admin > Templates > > Doesn't it work better if the project has multiple apps? > > Templates are found at Project\App\Templates, instead of Project > \Templates\App > Do templates 'belong' to the App or the Project? > > Given that an App consists of models, views and templates, shouldn't > models, views and templates be at the same level?
Fortunately, you can do that, too, if you want (and, in fact, that is the way many people work). One of the default template loaders that is in the settings file looks for templates under <app_name>/templates/ (no capital letter) for every installed application. 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 -~----------~----~----~----~------~----~------~--~---