summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2010-11-28 18:36:01 +0000
committerTimo Graham <timograham@gmail.com>2010-11-28 18:36:01 +0000
commit7a81ac5197db7883166dca9a9fc9525e7bf3f725 (patch)
tree2e3a8406fe4f3ef7043b1abbb65b5a9e1ec88d59 /docs/ref
parentb31a956d57d49c3f332b48c807c3bcffdb8eea9b (diff)
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
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/generic-views.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/generic-views.txt b/docs/ref/generic-views.txt
index 1e1aadd380..f6d22eafa9 100644
--- a/docs/ref/generic-views.txt
+++ b/docs/ref/generic-views.txt
@@ -987,7 +987,8 @@ model class.
``False``.
If this is ``True``, and a non-logged-in user attempts to visit this page
- or save the form, Django will redirect the request to ``/accounts/login/``.
+ or save the form, Django will redirect to :setting:`LOGIN_URL` (which
+ defaults to ``/accounts/login/``).
* ``template_name``: The full name of a template to use in rendering the
page. This lets you override the default template name (see below).
@@ -1069,7 +1070,8 @@ contain a form that POSTs to the same URL.
``False``.
If this is ``True``, and a non-logged-in user attempts to visit this page
- or save the form, Django will redirect the request to ``/accounts/login/``.
+ or save the form, Django will redirect to :setting:`LOGIN_URL` (which
+ defaults to ``/accounts/login/``).
* ``template_name``: The full name of a template to use in rendering the
page. This lets you override the default template name (see below).