mirror of https://github.com/django/django.git
Converted tabs to spaces in topics/auth/default.txt
This commit is contained in:
parent
e063ac2fae
commit
03aec35a12
|
@ -730,7 +730,7 @@ user to the login page or issue an HTTP 403 Forbidden response.
|
||||||
.. attribute:: permission_denied_message
|
.. attribute:: permission_denied_message
|
||||||
|
|
||||||
When ``raise_exception`` is ``True``, this attribute can be used to
|
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.
|
the user. Defaults to an empty string.
|
||||||
|
|
||||||
.. attribute:: redirect_field_name
|
.. attribute:: redirect_field_name
|
||||||
|
@ -747,8 +747,8 @@ user to the login page or issue an HTTP 403 Forbidden response.
|
||||||
|
|
||||||
.. method:: handle_no_permission()
|
.. method:: handle_no_permission()
|
||||||
|
|
||||||
Depending on the value of ``raise_exception``, the method either raises
|
Depending on the value of ``raise_exception``, the method either raises
|
||||||
a :exc:`~django.core.exceptions.PermissionDenied` exception or
|
a :exc:`~django.core.exceptions.PermissionDenied` exception or
|
||||||
redirects the user to the ``login_url``, optionally including the
|
redirects the user to the ``login_url``, optionally including the
|
||||||
``redirect_field_name`` if it is set.
|
``redirect_field_name`` if it is set.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue