#9847: Improved handling for HTTP 403 Errors
-------------------------------------+--------------------------------------
Reporter: drakkan | Owner: fvox13
Status: assigned | Milestone: 1.3
Component: Core framework | Version: SVN
Resolution: | Keywords: sprintSep2010
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-------------------------------------+--------------------------------------
Comment (by lrekucki):
Just for the record, after [13590] the ``handlerXXX`` functions don't
require an "import *". This still calls for a more general solution then
just putting another function. Also, the current patch required a
``"403.html"`` template, but doesn't provide it. This gets catch by
``"except:"``, but that's at least bad style to me. If I make a syntax
error in the ``"403.html"`` I would expect a 500 and a trace, so that my
tests fail when checking the returned status code.
--
Ticket URL: <http://code.djangoproject.com/ticket/9847#comment:24>
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.