Always use parentheses when documenting a method with no arguments.

This commit is contained in:
Baptiste Mispelon 2014-01-22 22:26:10 +01:00
parent 79e1d6ebd7
commit 05d36dc06e
11 changed files with 36 additions and 36 deletions

View file

@ -111,7 +111,7 @@ default templates.
Advanced ``FormPreview`` methods
================================
.. method:: FormPreview.process_preview
.. method:: FormPreview.process_preview()
Given a validated form, performs any extra processing before displaying the
preview page, and saves any extra data in context.

View file

@ -229,7 +229,7 @@ Here's a full example template:
Hooking the wizard into a URLconf
---------------------------------
.. method:: WizardView.as_view
.. method:: WizardView.as_view()
Finally, we need to specify which forms to use in the wizard, and then
deploy the new :class:`WizardView` object at a URL in the ``urls.py``. The