Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14798 - Clarified redirects of generic views - thanks OldTroll.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7a81ac5197db7883166dca9a9fc9525e7bf3f725 1 parent b31a956
Tim Graham authored November 28, 2010

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/generic-views.txt
6  docs/ref/generic-views.txt
@@ -987,7 +987,8 @@ model class.
987 987
       ``False``.
988 988
 
989 989
       If this is ``True``, and a non-logged-in user attempts to visit this page
990  
-      or save the form, Django will redirect the request to ``/accounts/login/``.
  990
+      or save the form, Django will redirect to :setting:`LOGIN_URL` (which
  991
+      defaults to ``/accounts/login/``).
991 992
 
992 993
     * ``template_name``: The full name of a template to use in rendering the
993 994
       page. This lets you override the default template name (see below).
@@ -1069,7 +1070,8 @@ contain a form that POSTs to the same URL.
1069 1070
       ``False``.
1070 1071
 
1071 1072
       If this is ``True``, and a non-logged-in user attempts to visit this page
1072  
-      or save the form, Django will redirect the request to ``/accounts/login/``.
  1073
+      or save the form, Django will redirect to :setting:`LOGIN_URL` (which
  1074
+      defaults to ``/accounts/login/``).
1073 1075
 
1074 1076
     * ``template_name``: The full name of a template to use in rendering the
1075 1077
       page. This lets you override the default template name (see below).

0 notes on commit 7a81ac5

Please sign in to comment.
Something went wrong with that request. Please try again.