﻿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
12060	Auth Context Processor returns user as a Lazy Object, which breaks things	Eric Holscher	Luke Plant	"With the addition in r11621, when a template checks the type or equality of request.user given from the auth context processor, you used to get:

{{{
ipdb> type(response.context['user'])
Out[0]: <class 'django.utils.functional.SimpleLazyObject'>
}}}

Previously, this returned an auth.User object.

{{{
<class 'django.contrib.auth.models.User'>
}}}

Attached is a test that fails with the current trunk. It passes with the current test structure and pre-r11621 auth context_processor.

"		closed	contrib.auth	1.1		fixed			Unreviewed	0	0	0	0	0	0
