Changes between Initial Version and Version 1 of Ticket #26957
- Timestamp:
- Jul 26, 2016, 2:50:13 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26957
- Property Version 1.9 → 1.10
-
Ticket #26957 – Description
initial v1 1 1 In the code: 2 https://github.com/django/django/blob/ master/django/contrib/auth/backends.py#L12-L322 https://github.com/django/django/blob/stable/1.10.x/django/contrib/auth/backends.py#L12-L32 3 3 4 4 … … 32 32 However, the documentation suggests that when user.is_active == False, the authenticate() method returns the user normally. 33 33 34 https://docs.djangoproject.com/en/1.10/topics/auth/default/#auth-web-requests 35 34 36 {{{ 35 37 from django.contrib.auth import authenticate, login