Maybe you forgot to use context_instance parameter in render() call?
If you want to use context processors, it must look like
return render_to_response('template.html', context,
context_instance=RequestContext(request))
context_instance parameter passes contexts from processors to your
templates
On 23 июн, 00:20, mcordes <[EMAIL PROTECTED]> wrote:
> I seem to already have the auth middleware enabled too. From what I'm
> seeing, generic views _do_ have the user object available in their
> templates. It's just my custom views that don't automatically have
> this. It's easy enough for me to pass in the request.user object from
> each of my templates, but I really thought I wouldn't need to do this.
>
> -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
-~----------~----~----~----~------~----~------~--~---