From e5cf560783cb76b9732520b54acb12a4261019df Mon Sep 17 00:00:00 2001 From: Simon Meers Date: Thu, 28 Apr 2011 00:26:31 +0000 Subject: [PATCH] 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 --- docs/topics/auth.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index c01079c82a..25d4be5538 100644 --- a/docs/topics/auth.txt +++ b/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 `. + +.. _other-built-in-views: + Other built-in views --------------------