From 58061fd2b4c4b66c0fd3db8026c8b5e369ed9ec3 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Fri, 5 Apr 2024 15:13:54 +0200 Subject: [5.0.x] Refs #35354 -- Clarified FORCE_SCRIPT_NAME docs. Backport of ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099 from main --- docs/ref/settings.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 30e64b72ff..a589a9af87 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1685,7 +1685,7 @@ the server-provided value of ``SCRIPT_NAME``, which may be a rewritten version of the preferred value or not supplied at all. It is also used by :func:`django.setup()` to set the URL resolver script prefix outside of the request/response cycle (e.g. in management commands and standalone scripts) to -generate correct URLs when ``SCRIPT_NAME`` is not ``/``. +generate correct URLs when ``FORCE_SCRIPT_NAME`` is provided. .. setting:: FORM_RENDERER -- cgit v1.3