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...
1 parent 6d98cda commit e5cf560783cb76b9732520b54acb12a4261019df @DrMeers DrMeers committed Apr 28, 2011
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
--------------------

0 comments on commit e5cf560

Please sign in to comment.