﻿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
13019	create_update: proxy object displayed instead of model verbose name	Beuc	nobody	"I get this kind of error at http://localhost:8000/users/10/
{{{
No <django.utils.functional.__proxy__ object at 0x85c2fcc> found for {'username__exact': u'10'}
}}}

Apparently this is due to its non-unicode expansion:
{{{
        # Note: User.Meta.verbose_name == _('user')
        raise Http404(""No %s found for %s""
                      % (model._meta.verbose_name, lookup_kwargs))
}}}

It's fixed by using a Unicode string:
{{{
u""No %s found for %s""
}}}

Patch attached."	Bug	closed	Database layer (models, ORM)	1.1	Normal	worksforme			Accepted	1	0	1	1	0	0
