Hallöchen! Mauro writes:
> [...] > > Following the djangobook I've build a projects who has the following > strurcture: > > projects | > ------- > | __init__.py > | manage.py > | settings.py > | urls.py > > | app folder | > ---------- > | many files > | templates | > -------- > | > index.php > > As you can see the templates directory is stored inside the app > directory. I go even one step further: my_app/templates/my_app/my_view.html This is redundant but it makes overriding of templates easier. If someone wants to create a local variation of a template, he simply creates my_app_local/templates/my_app/my_view.html and puts my_app_local instead of my_app into INSTALLED_APPS. This way, you don't have to modify the original files. This assumes that you use django.template.loaders.app_directories.Loader in TEMPLATE_LOADERS. Tschö, Torsten. -- Torsten Bronger Jabber ID: torsten.bron...@jabber.rwth-aachen.de or http://bronger-jmp.appspot.com -- 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.