#15179: django.test.client.Client.login fake HttpRequest is not run through middlewares -----------------------------------+-------------------------------------- Reporter: Ciantic | Owner: akaariai Type: Bug | Status: new Component: Testing framework | Version: 1.7-beta-2 Severity: Release blocker | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------------+--------------------------------------
Comment (by aaugustin): Given the concerns expressed before committing this patch and the results seen during the beta, I would suggest to revert the change. The approach seems too fragile. It touches too many layers. I would also have closed the ticket as wontfix. `Client.login()` is a simple convenience feature. If it doesn't work, it isn't hard to write a `LoginMixin` providing a suitable `login` method for your website. -- Ticket URL: <https://code.djangoproject.com/ticket/15179#comment:36> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.a7f08acf1d147968ecb55f36370f5381%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.