Ticket #15885: auth_changes.diff

File auth_changes.diff, 724 bytes (added by Preston Timmons, 14 years ago)
  • docs/topics/auth.txt

    diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
    index c01079c..5c0a441 100644
    a b In addition to the :func:`~views.login` view, the authentication system  
    872872includes a few other useful built-in views located in
    873873:mod:`django.contrib.auth.views`:
    874874
     875.. versionadded:: 1.4
     876
     877    These views now return :class:`~django.template.response.TemplateResponse`
     878    instances which allow you to easily customize the response data before
     879    rendering. For more details, see the
     880    :doc:`TemplateResponse documentation </ref/template-response>`.
     881
    875882.. function:: logout(request, [next_page, template_name, redirect_field_name])
    876883
    877884    Logs a user out.
Back to Top