mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Always use parentheses when documenting a method with no arguments.
This commit is contained in:
parent
79e1d6ebd7
commit
05d36dc06e
11 changed files with 36 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue