Thinking of this some more, I'm wondering about the names is_logged_in
or is_authenticated.  They could be a little misleading since they
aren't really checking if the user is logged in or not.  One might be
led to believe that they could do something like logged_in_users =
[user.is_logged_in() for user in User.objects.all()] or something like
user = User.objects.get(username='fred');  if user.is_logged_in(): ...

It seems that maybe the is_anonymous function is just a way for the
object to say it's either an AnonymousUser object or it's not an
AnonymousUser object.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to