﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2332	[patch] is_loggedin method for User and AnonymousUser models.	Chris Beaven	Adrian Holovaty	"This `is_loggedin` method replaces the `is_anonymous` method.

Discussion from the django-developers group follows ([http://groups.google.com/group/django-developers/browse_thread/thread/2cc178fe7c8c9046/ see thread]).

Templates treat non-existing variables as False; therefore; a
request.user somehow failing to get assigned would result in the
template treating the user as they are authenticated (is_anonymous
evaluates False).  An is_loggedin would be a more secure option because
if request.user failed to get assigned, the template would treat the
user as anonymous.

I would much rather mistakenly treat an authenticated user as anonymous
than mistakenly treat an anonymous user as authenticated. 
"	enhancement	closed	Contrib apps		normal	fixed	auth user	gary.wilson@…	Unreviewed	1	0	0	0	0	0
