[1.10.x] Fixed #27050 -- Corrected django.setup()'s parameter name in docs.

Backport of 6b83f61e72 from master
This commit is contained in:
Tim Graham 2016-08-11 07:01:55 -04:00
parent c52350bc6c
commit adca9effe7
1 changed files with 2 additions and 2 deletions

View File

@ -344,13 +344,13 @@ application registry.
.. currentmodule:: django
.. function:: setup(set_script=True)
.. function:: setup(set_prefix=True)
Configures Django by:
* Loading the settings.
* Setting up logging.
* If ``set_script`` is True, setting the URL resolver script prefix to
* If ``set_prefix`` is True, setting the URL resolver script prefix to
:setting:`FORCE_SCRIPT_NAME` if defined, or ``/`` otherwise.
* Initializing the application registry.