Ticket #15885: auth_views_template_response_doc.diff

File auth_views_template_response_doc.diff, 711 bytes (added by Mathieu Agopian <mathieu.agopian@…>, 4 years ago)
  • docs/topics/auth.txt

    diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
    index c01079c..482a5f5 100644
    a b The login_required decorator 
    863863    .. _forms documentation: ../forms/
    864864    .. _site framework docs: ../sites/
    865865
     866    .. versionadded:: 1.4
     867
     868    This :func:`~views.login` view and the :ref:`other-built-in-views` now all
     869    return :class:`~django.template.response.TemplateResponse` instances which
     870    allows you to easily customize the response data before rendering. For more
     871    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