I don't understand how this is related to the admin interface. Anyway, shouldn't it go after the standard auth middleware, so that django.contrib.auth.middleware doesn't clobber the request.user that the middleware posted above sets? And you still need to take into account the admin interface's login page.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

