diff options
| author | Tim Graham <timograham@gmail.com> | 2014-07-29 08:56:00 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-01 17:51:49 -0400 |
| commit | a2479f46f3d05b37254ad701b6b76f84624d3cb5 (patch) | |
| tree | 6699af07d6dee155810e24bffdfdd7449e3ae7b9 /docs/ref | |
| parent | 1a31d9ef913f954c26a4837b1ffb568ced21ff05 (diff) | |
Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 621538420d..3c96fc835a 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -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 |
