mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Fixed #27050 -- Corrected django.setup()'s parameter name in docs.
This commit is contained in:
parent
e2dfa81ff7
commit
6b83f61e72
@ -344,13 +344,13 @@ application registry.
|
|||||||
|
|
||||||
.. currentmodule:: django
|
.. currentmodule:: django
|
||||||
|
|
||||||
.. function:: setup(set_script=True)
|
.. function:: setup(set_prefix=True)
|
||||||
|
|
||||||
Configures Django by:
|
Configures Django by:
|
||||||
|
|
||||||
* Loading the settings.
|
* Loading the settings.
|
||||||
* Setting up logging.
|
* 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.
|
:setting:`FORCE_SCRIPT_NAME` if defined, or ``/`` otherwise.
|
||||||
* Initializing the application registry.
|
* Initializing the application registry.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user