Ticket #14798: generic_views_corrections.diff

File generic_views_corrections.diff, 1.2 KB (added by OldTroll, 14 years ago)

corrections for documentation

  • docs/ref/generic-views.txt

     
    987987      ``False``.
    988988
    989989      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/``).
    991992
    992993    * ``template_name``: The full name of a template to use in rendering the
    993994      page. This lets you override the default template name (see below).
     
    10691070      ``False``.
    10701071
    10711072      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/``).
    10731075
    10741076    * ``template_name``: The full name of a template to use in rendering the
    10751077      page. This lets you override the default template name (see below).
Back to Top