On 8/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I came across http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser > > Since this middleware depends on > django.contrib.auth.middleware.AuthenticationMiddleware and its context is > very related > to the request.user object I was wondering if this is related enought to > become an own > standard distro middleware in django.contrib.auth ? > > Was this every discussed ?
I'd rather not add that middleware to the Django distribution, because the implementation (using threadlocal) is hackish. We're still waiting on a cleaner solution to the problem. You can, of course, feel free to use that middleware in your own projects -- it's just not officially sanctioned, for what that's worth. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~----------~----~----~----~------~----~------~--~---