diff options
| author | Tim Graham <timograham@gmail.com> | 2016-08-11 07:01:55 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-08-11 07:04:59 -0400 |
| commit | adca9effe778e50e2af8e683ce975e243880f666 (patch) | |
| tree | d755a8f700471b10023e40b9625452a79c668dfb | |
| parent | c52350bc6c0ce4e146db696d3a9772b6b9dc554f (diff) | |
[1.10.x] Fixed #27050 -- Corrected django.setup()'s parameter name in docs.
Backport of 6b83f61e72637326605614d8a8e9e0077040d994 from master
| -rw-r--r-- | docs/ref/applications.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt index 53d9bcd9b5..d1183ce4bf 100644 --- a/docs/ref/applications.txt +++ b/docs/ref/applications.txt @@ -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. |
