Commits

Nicolas Kuttler committed 3e0af0f

Update the documentation.

  • Participants
  • Parent commits 252eed1

Comments (0)

Files changed (1)

File docs/views.rst

       ``activate()`` method.
 
 
-.. function:: register(request, backend[, success_url[, form_class[, disallowed_url[, template_name[, extra_context]]]]])
+.. function:: register(request, backend[, success_url[, form_class[, disallowed_url[, template_name[, extra_context[, form_context]]]]]])
 
    Allow a new user to register an account.
 
    **Context**
 
    ``form``
-        The form instance being used to collect registration data.
+        The form instance being used to collect registration data. Can be
+        modified through the ``form_context`` parameter.
 
    This view uses ``RequestContext``, so variables populated by
    context processors will also be present in the context.
       not specified, this will default to
       ``registration/registration_form.html``.
    :type template_name: string
+   :param form_context: Optional. The name of the context variable that
+      contains the authentication form.
+   :type form_context: string