1
0
mirror of https://github.com/django/django.git synced 2025-01-27 10:39:40 +00:00

[5.0.x] Refs #35354 -- Clarified FORCE_SCRIPT_NAME docs.

Backport of ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099 from main
This commit is contained in:
Carlton Gibson 2024-04-05 15:13:54 +02:00 committed by Natalia
parent d859c0be9c
commit 58061fd2b4

View File

@ -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