Better suggestion than mine, you learn something new every day .. I'm converting to using this now. Thanks Rajesh
Tom On Wed, 2007-09-12 at 18:54 +0000, RajeshD wrote: > > > How can I decouple my templates to an app specific directoy? The way that my > > apps are self contained also regarding their templates? > > That feature is built in to Django. Create a templates sub-directory > in your app directory and place your app specific templates in there. > Look at the the django.contrib.admin app directory for an example. > > For this to work, you will need to make sure your TEMPLATE_LOADERS > setting includes: > django.template.loaders.app_directories.load_template_source > > See: http://www.djangoproject.com/documentation/templates_python/#loader-types > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---