Browse Source

Fixed a function signature in docs/topics/auth/default.txt.

Tim Graham 9 years ago
parent
commit
441c537b66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/auth/default.txt

+ 1 - 1
docs/topics/auth/default.txt

@@ -965,7 +965,7 @@ All authentication views
 This is a list with all the views ``django.contrib.auth`` provides. For
 implementation details see :ref:`using-the-views`.
 
-.. function:: login(request, template_name=`registration/login.html`, redirect_field_name=, authentication_form, current_app, extra_context)
+.. function:: login(request, template_name=`registration/login.html`, redirect_field_name='next', authentication_form=AuthenticationForm, current_app=None, extra_context=None)
 
     **URL name:** ``login``