#4617: permission_required decorator behaviour is odd
-------------------------------------+-------------------------------------
Reporter: cbrand@… | Owner: ctrochalakis
Type: Bug | Status: closed
Milestone: | Component: contrib.auth
Version: SVN | Severity: Normal
Resolution: fixed | Keywords: easy-pickings
Triage Stage: Ready for | dceu2011
checkin | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by jezdez):
* status: assigned => closed
* resolution: => fixed
Comment:
In [16607]:
{{{
#!CommitTicketReference repository="" revision="16607"
Fixed #4617 -- Added `raise_exception` option to `permission_required`
decorator to be able to raise a PermissionDenied exception instead of
redirecting to the login page.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/4617#comment:29>
Django <https://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.