Changes between Initial Version and Version 1 of Ticket #10265


Ignore:
Timestamp:
Feb 14, 2009, 2:50:03 PM (15 years ago)
Author:
Alex Gaynor
Comment:

Please use the preview button :)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10265 – Description

    initial v1  
    22
    33the difference is that a User just created has a last_login with microseconds set, but when reloaded from the db it does not and the token generator uses unicode(user.last_login) in the hash
    4 
     4{{{
    55>>> from django.contrib.auth.models import User
    66>>> u1 = User.objects.create_user("username","user@email.com","password")
     
    1717>>> unicode(u2.last_login)
    1818u'2009-02-14 15:47:20'
    19 
     19}}}
    2020(as an aside, I don't think that a user should be created with a last login of now.
    2121a new user has never logged in.)
Back to Top