diff options
| author | Tim Graham <timograham@gmail.com> | 2015-07-24 11:48:57 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-07-24 11:48:57 -0400 |
| commit | 03aec35a12ea522ab9a60d6229b53e3ec3a871a3 (patch) | |
| tree | f0de64cc0f7bc5c1a398e22f8d01fe23a733ec81 /docs | |
| parent | e063ac2fae007a2eecaeab5ce17064c31230ce29 (diff) | |
Converted tabs to spaces in topics/auth/default.txt
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/auth/default.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 88703c6023..9606df83db 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -730,7 +730,7 @@ user to the login page or issue an HTTP 403 Forbidden response. .. attribute:: permission_denied_message When ``raise_exception`` is ``True``, this attribute can be used to - control the error message passed to the error handler for display to + control the error message passed to the error handler for display to the user. Defaults to an empty string. .. attribute:: redirect_field_name @@ -747,8 +747,8 @@ user to the login page or issue an HTTP 403 Forbidden response. .. method:: handle_no_permission() - Depending on the value of ``raise_exception``, the method either raises - a :exc:`~django.core.exceptions.PermissionDenied` exception or + Depending on the value of ``raise_exception``, the method either raises + a :exc:`~django.core.exceptions.PermissionDenied` exception or redirects the user to the ``login_url``, optionally including the ``redirect_field_name`` if it is set. |
