It would seem that something is happening between the authentication
middleware setting request.__class__.user and the context processor
reading it.

Couple things to try if you're in a debugging mood:

After line 11 in django/contrib/admin/middleware.py:
    request.__class__.user = LazyUser()
+    print 'Middleware:', request.user

Add that line to see if it's actually being set.

Now as the first line in whatever view this is happening in, do the
same thing:

def index_view(request):
+    print 'View:', request.user

This should at least narrow down where in the code request.user is
being obliterated...


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