#19792: django.test.client.Client.login() checking for is_active attribute on 
User
objects
-----------------------------------+----------------------
     Reporter:  mrmagooey          |      Owner:  nobody
         Type:  Bug                |     Status:  new
    Component:  Testing framework  |    Version:  1.5-rc-1
     Severity:  Normal             |   Keywords:
 Triage Stage:  Unreviewed         |  Has patch:  0
Easy pickings:  0                  |      UI/UX:  0
-----------------------------------+----------------------
 As per #13125 there has been a conscious decision to leave the is_active
 attribute as a hook for custom behaviour, and not used for built-in code.
 However, the login() method on django.test.client.Client objects checks
 for is_active. It would seem that this probably shouldn't be the case if
 the same logic used in the linked ticket for the login_required decorator
 is to be applied framework-wide.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19792>
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to