Kaydet (Commit) 03aec35a authored tarafından Tim Graham's avatar Tim Graham

Converted tabs to spaces in topics/auth/default.txt

üst e063ac2f
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment