#7220: Last_login in django.contrib.auth should has null=True
--------------------------------------------------+-------------------------
Reporter: veena | Owner: nobody
Status: new | Milestone:
Component: Contrib apps | Version: SVN
Resolution: | Keywords: auth last
login user
Triage Stage: Design decision needed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
--------------------------------------------------+-------------------------
Comment (by sven.hoffmann@…):
We would like to use the field last_login to determine if a user has ever
logged in.
now we need to check if last_login == date_joined to do that but that's
pretty weird,
as the user actually has not logged in yet, but has a date for last_login
set.
why no just have the field null until first login as suggested in this
ticket?
--
Ticket URL: <http://code.djangoproject.com/ticket/7220#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.