Hi,

> In Django Tutorial02 theres TEMPLATE_DIRS setting with path to
> templates. I copied some admin templates doing exactly as tutorial
> says.
>
> I'm using current SVN Django build.
> I put my templates somewhere in /var/www/ just beside project code and
> media files.
>
> What may be the reason that django doesnt see these templates?

Make sure that:

1. settings.TEMPLATE_LOADERS contains the entry
django.template.loaders.filesystem.load_template_source before the
entry django.template.loaders.app_directories.load_template_source

2. the path specified in TEMPLATE_DIRS has no typos

3. the user you are running the Django application as has read/write
access to that template directory. Are you using the built-in
development server (python manage.py runserver) or an external web
server (Apache)? If it's the latter, you will need to make sure that
the user that Apache runs as has access to that template directory.

-Rajesh D

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to