On Feb 7, 2008 11:44 AM, Henhiskan <[EMAIL PROTECTED]> wrote: > > See:http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser > > Thanks a lot, is exactly that I was looking for
This is a really bad idea; in almost 100% of cases, it's better to be writing something in your view which reads request.user and hands it off to something else directly than it is to be messing around with threadlocals for this. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---