Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #15885 -- Update auth view docs re: TemplateResponse. Thanks pr…

…estontimmons.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e5cf560783cb76b9732520b54acb12a4261019df 1 parent 6d98cda
@DrMeers DrMeers authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 docs/topics/auth.txt
View
10 docs/topics/auth.txt
@@ -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
--------------------
Please sign in to comment.
Something went wrong with that request. Please try again.