Fixed #15885 -- Update auth view docs re: TemplateResponse. Thanks prestontimmons.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6d98cda03c
commit
e5cf560783
|
@ -863,6 +863,16 @@ The login_required decorator
|
|||
.. _forms documentation: ../forms/
|
||||
.. _site framework docs: ../sites/
|
||||
|
||||
.. versionadded:: 1.4
|
||||
|
||||
The :func:`~views.login` view and the :ref:`other-built-in-views` now all
|
||||
return a :class:`~django.template.response.TemplateResponse` instance,
|
||||
which allows you to easily customize the response data before rendering.
|
||||
For more details, see the
|
||||
:doc:`TemplateResponse documentation </ref/template-response>`.
|
||||
|
||||
.. _other-built-in-views:
|
||||
|
||||
Other built-in views
|
||||
--------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue