Ticket #14798: generic_views_corrections.diff
File generic_views_corrections.diff, 1.2 KB (added by , 14 years ago) |
---|
-
docs/ref/generic-views.txt
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 the request to whatever is set in 991 settings.LOGIN_URL (which 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 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 the request to whatever is set in 1074 settings.LOGIN_URL (which 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).