Author: timo
Date: 2010-11-28 12:36:01 -0600 (Sun, 28 Nov 2010)
New Revision: 14739
Modified:
django/trunk/docs/ref/generic-views.txt
Log:
Fixed #14798 - Clarified redirects of generic views - thanks OldTroll.
Modified: django/trunk/docs/ref/generic-views.txt
===================================================================
--- django/trunk/docs/ref/generic-views.txt 2010-11-28 18:20:05 UTC (rev
14738)
+++ django/trunk/docs/ref/generic-views.txt 2010-11-28 18:36:01 UTC (rev
14739)
@@ -987,7 +987,8 @@
``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 @@
``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).
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.