Commits

Anonymous committed aafd7f3

Minor docstring formatting tweaks

Comments (0)

Files changed (1)

registration/views.py

     change this, pass the name of a template as the keyword argument
     ``template_name``.
     
-    Context:
+    **Context:**
     
-        account
-            The ``User`` object corresponding to the account, if the
-            activation was successful. ``False`` if the activation was
-            not successful.
+    account
+        The ``User`` object corresponding to the account, if the
+        activation was successful. ``False`` if the activation was not
+        successful.
     
-        expiration_days
-            The number of days for which activation keys stay valid
-            after registration.
+    expiration_days
+        The number of days for which activation keys stay valid after
+        registration.
     
-    Template:
+    **Template:**
     
-        registration/activate.html or ``template_name`` keyword
-        argument.
+    registration/activate.html or ``template_name`` keyword argument.
     
     """
     activation_key = activation_key.lower() # Normalize before trying anything with it.
     ``registration/registration_form.html``; to change this, pass the
     name of a template as the keyword argument ``template_name``.
     
-    Context:
+    **Context:**
     
-        form
-            The registration form.
+    form
+        The registration form.
     
-    Template:
+    **Template:**
     
-        registration/registration_form.html or ``template_name``
-        keyword argument.
+    registration/registration_form.html or ``template_name`` keyword
+    argument.
     
     """
     if request.method == 'POST':