Ticket #15885: auth_views_template_response_doc.2.diff

File auth_views_template_response_doc.2.diff, 712 bytes (added by Mathieu Agopian <mathieu.agopian@…>, 4 years ago)

wording

  • docs/topics/auth.txt

    diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
    index c01079c..25d4be5 100644
    a b The login_required decorator 
    863863    .. _forms documentation: ../forms/
    864864    .. _site framework docs: ../sites/
    865865
     866    .. versionadded:: 1.4
     867
     868    The :func:`~views.login` view and the :ref:`other-built-in-views` now all
     869    return a :class:`~django.template.response.TemplateResponse` instance,
     870    which allows you to easily customize the response data before rendering.
     871    For more details, see the
     872    :doc:`TemplateResponse documentation </ref/template-response>`.
     873
     874.. _other-built-in-views:
     875
    866876Other built-in views
    867877--------------------
    868878
Back to Top