mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
This commit is contained in:
parent
1a31d9ef91
commit
a2479f46f3
6 changed files with 55 additions and 5 deletions
|
@ -81,8 +81,12 @@ Fields
|
|||
|
||||
.. attribute:: last_login
|
||||
|
||||
A datetime of the user's last login. Is set to the current date/time by
|
||||
default.
|
||||
A datetime of the user's last login.
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
This field will be ``null`` if the user has never logged in.
|
||||
Previously it was set to the current date/time by default.
|
||||
|
||||
.. attribute:: date_joined
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue