Changes between Initial Version and Version 1 of Ticket #26957


Ignore:
Timestamp:
Jul 26, 2016, 2:50:13 PM (8 years ago)
Author:
Shen Li
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26957

    • Property Version 1.91.10
  • Ticket #26957 – Description

    initial v1  
    11In the code:
    2 https://github.com/django/django/blob/master/django/contrib/auth/backends.py#L12-L32
     2https://github.com/django/django/blob/stable/1.10.x/django/contrib/auth/backends.py#L12-L32
    33
    44
     
    3232However, the documentation suggests that when user.is_active == False, the authenticate() method returns the user normally.
    3333
     34https://docs.djangoproject.com/en/1.10/topics/auth/default/#auth-web-requests
     35
    3436{{{
    3537from django.contrib.auth import authenticate, login
Back to Top