﻿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
6990	Omit redundant user.is_authenticated check in django/contrib/admin/templates/admin/base.html	Liang Feng <hutuworm@…>	nobody	"In the admin template:

{{{
django/contrib/admin/templates/admin/base.html:
{% if user.is_authenticated and user.is_staff %}
}}}

While checking if user is staff, it's No need to check if user is authenticated. Since user who is not authenticated can't pass the ""user.is_staff"" check, so the ""user.is_authenticated"" check could be omitted.

p.s. may save some precious cpu cycles on Google App Engine. :P"		new	contrib.admin	SVN			omit redundant user.is_authenticated check		Unreviewed	0	0	0	0	0	0
