From 03aec35a12ea522ab9a60d6229b53e3ec3a871a3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 24 Jul 2015 11:48:57 -0400 Subject: [PATCH] Converted tabs to spaces in topics/auth/default.txt --- docs/topics/auth/default.txt | 6 +++--- 1 file 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.