You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UserManagercurrently sets both date_joined and last_login to the current date. Later Django versions make it so that last_login is only set if the user has actually logged in.
We ostensibly have a test for this in test_models.py. Some exploration for what is going on here is required.
Thanks to @jschneier for reporting this at DjangoCon US 2017.
The text was updated successfully, but these errors were encountered:
The
UserManager
currently sets bothdate_joined
andlast_login
to the current date. Later Django versions make it so thatlast_login
is only set if the user has actually logged in.We ostensibly have a test for this in
test_models.py
. Some exploration for what is going on here is required.Thanks to @jschneier for reporting this at DjangoCon US 2017.
The text was updated successfully, but these errors were encountered: