Yes, I checked all these things before I wrote.  I can actually get  
it to use my template if I rearrange the order of the entries in  
TEMPLATE_DIRS.  But then the admin system uses my logout template,  
too.  But the whole time both admin and my app use the correct login  
template.  It is very strange.

In fact, I've given up and just wrote my own logout view.  I guess I  
just don't understand the template system and how to get it to work  
correctly for me.  It is sad, because I like the templating  
'language' itself.  I just have trouble figuring out which order all  
the INSTALLED_APPS and TEMPLATE_DIRS should be in to get everything  
using the right template each time.

Anyway, thanks for the help.

Tamara

On Sep 1, 2006, at 4:41 PM, Rob Hudson wrote:

>
> I'm not sure but you can verify a couple things...
>
> Look at your settings.py file and make sure your TEMPLATE_LOADERS
> directive has the 2 in this order:
> TEMPLATE_LOADERS = (
>     'django.template.loaders.filesystem.load_template_source',
>     'django.template.loaders.app_directories.load_template_source',
> )
>
> Looking at the code for these, if they are reversed, it will find the
> auth templates and see registration/logged_out.html before it looks  
> for
> the templates as listed in your TEMPLATE_DIRS setting, which isn't  
> what
> you want.
>
> If that looks ok, I'd just verify my TEMPLATE_DIRS setting and double
> check all paths, check for typos, that sort of thing.
>
> -Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to