#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: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by jdufresne):
* has_patch: 0 => 1
Comment:
> I'm not sure if we'd consider this a bug or a feature that requires
backwards compatibility
If you decide on this let me know and I can change my approach. Until
then, I'll take the path of least resistance. I have created a PR that
treats this as a bug.
https://github.com/django/django/pull/4864
> but another option to solve your use case might be #20916.
This is interesting. I will take a look at this as well. Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/24987#comment:2>
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.736482f35c9e40aa4c501b48c3487c12%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.