Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Simon Meers authored April 28, 2011

Showing 1 changed file with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. 10  docs/topics/auth.txt
10  docs/topics/auth.txt
@@ -863,6 +863,16 @@ The login_required decorator
863 863
     .. _forms documentation: ../forms/
864 864
     .. _site framework docs: ../sites/
865 865
 
  866
+    .. versionadded:: 1.4
  867
+
  868
+    The :func:`~views.login` view and the :ref:`other-built-in-views` now all
  869
+    return a :class:`~django.template.response.TemplateResponse` instance,
  870
+    which allows you to easily customize the response data before rendering.
  871
+    For more details, see the
  872
+    :doc:`TemplateResponse documentation </ref/template-response>`.
  873
+
  874
+.. _other-built-in-views:
  875
+
866 876
 Other built-in views
867 877
 --------------------
868 878
 

0 notes on commit e5cf560

Please sign in to comment.
Something went wrong with that request. Please try again.