Hello,
Is there anything I need to do to enable the auth context processor
other than adding "django.core.context_processors.auth" to
TEMPLATE_CONTEXT_PROCESSORS in my settings.py?
I'd like to be able to access the 'auth user' object in my various
templates, which from what I understand this processor is supposed to
be injecting it, but it doesn't seem to be working.
my settings.py file contains:
TEMPLATE_CONTEXT_PROCESSORS = (
"django.core.context_processors.auth",
)
and in my template I'm using:
{{user}}
Is there anything else I need to get this to work? Any suggestions?
-Matt
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---