mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +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
|
@ -1036,7 +1036,7 @@ If ``multi_db=True``, fixtures are loaded into all databases.
|
|||
Overriding settings
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. method:: SimpleTestCase.settings
|
||||
.. method:: SimpleTestCase.settings()
|
||||
|
||||
For testing purposes it's often useful to change a setting temporarily and
|
||||
revert to the original value after running the testing code. For this use case
|
||||
|
@ -1061,7 +1061,7 @@ Django provides a standard Python context manager (see :pep:`343`) called
|
|||
This example will override the :setting:`LOGIN_URL` setting for the code
|
||||
in the ``with`` block and reset its value to the previous state afterwards.
|
||||
|
||||
.. method:: SimpleTestCase.modify_settings
|
||||
.. method:: SimpleTestCase.modify_settings()
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue