Skip to content
Commit 351d5da6 authored by Jannis Leidel's avatar Jannis Leidel
Browse files

Fixed #4617 -- Added `raise_exception` option to `permission_required`...

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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 1ca6e9b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment