#15671: RemoteUserMiddleware hides true errors and exceptions
------------------------------------+----------------------------
Reporter: metzen | Owner:
Type: Bug | Status: new
Milestone: | Component: contrib.auth
Version: SVN | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 1 |
------------------------------------+----------------------------
Comment (by Alex):
I'd prefer this did `hasattr(request.__class__, "user")`, which seems to
fit the constraint of not evaluating the property, as well as the property
of not being unnecessarily obscure :)
--
Ticket URL: <http://code.djangoproject.com/ticket/15671#comment:10>
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.