mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Always use parentheses when documenting a method with no arguments.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user