I guess it depends on the implementation of the auth backend you're using.
Really though, it seems like using a bool flag involves less "magic", and is
perhaps more descriptive than making assumptions based on timestamps.

if user.is_new: redirect(somewhere)
rather than...
if user.last_login is None or user.last_login == user.join_date:
redirect(somewhere)

I'd value readability over reusing 2 timestamp columns in an effort to avoid
adding a tinyint.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to