#15368: Regression in Context
---------------------------------------------+------------------------------
Reporter: cyberdelia | Owner: nobody
Status: new | Milestone: 1.3
Component: Template system | Version: 1.2
Resolution: | Keywords: blocker
regression
Triage Stage: Ready for checkin | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
---------------------------------------------+------------------------------
Comment (by cyberdelia):
I've added a patch, that actually only scratch the surface, I have a new
error when trying to access request.user in a context_processor in my
tests :
{{{
File "django/template/context.py", line 23, in __copy__
duplicate = self._new()
File "django/template/context.py", line 172, in _new
current_app=self.current_app)
File "django/template/context.py", line 168, in __init__
self.update(processor(request))
[..]
if request.user.is_authenticated():
AttributeError: 'HttpRequest' object has no attribute 'user'
}}}
I will try to get a regression test working.
--
Ticket URL: <http://code.djangoproject.com/ticket/15368#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.