#15179: django.test.client.Client.login fake HttpRequest is not run through middlewares -------------------------------+-------------------------------------------- Reporter: Ciantic | Owner: nobody Status: new | Milestone: Component: Testing framework | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 0 | -------------------------------+-------------------------------------------- In the `django.test.client.Client.login` the fake `HttpRequest` should run through MiddleWare lists `process_request` functions before login.
My authentication/login mechanism relies on few things in the request object and if the login is called with incorrect request object it does not work. Needles to say perhaps but it works in real client. (I'm working on a per site login system, it seems I can make this fairly pluggable, but this is nagging me. If you are intersted [http://groups.google.com/group/django- developers/browse_thread/thread/7052c23321079295 see django-devs thread]) -- Ticket URL: <http://code.djangoproject.com/ticket/15179> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.