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':
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.