Re: Templates and user.is_anonymous

2006-07-11 Thread Gary Wilson
déjà vu http://groups.google.com/group/django-developers/browse_thread/thread/2cc178fe7c8c9046/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django

Re: Templates and user.is_anonymous

2006-07-11 Thread Malcolm Tredinnick
On Tue, 2006-07-11 at 15:52 -0700, SmileyChris wrote: > When using templates and the user interface, the logic seems backwards > to check for an anonymous user as opposed to a logged in user. > > By using user.is_anonymous in a template, you assume that if it's false > then the user is logged in,

Templates and user.is_anonymous

2006-07-11 Thread SmileyChris
When using templates and the user interface, the logic seems backwards to check for an anonymous user as opposed to a logged in user. By using user.is_anonymous in a template, you assume that if it's false then the user is logged in, where in actual fact "user" may just not be getting passed to c