#24987: django.test.client.Client.login() rejects user with is_active=False
-------------------------------------+-------------------------------------
Reporter: jdufresne | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by jdufresne):
> If the login solution proposed in #20916 will meet your use case, I find
that better than adding an attribute to test.Client as I think the latter
will be difficult to use (requiring initializing the test client on your
own).
I agree. I will continue work on the other ticket/PR. If you prefer to
close this, I have no problem with that.
--
Ticket URL: <https://code.djangoproject.com/ticket/24987#comment:10>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.1450f2a40b22fe6c67d1f7d86f258555%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.