mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #16734 -- Set script prefix even outside of requests
Thanks Tim Graham for the review.
This commit is contained in:
@@ -209,7 +209,10 @@ Tests
|
||||
URLs
|
||||
^^^^
|
||||
|
||||
* ...
|
||||
* An addition in :func:`django.setup()` allows URL resolving that happens
|
||||
outside of the request/response cycle (e.g. in management commands and
|
||||
standalone scripts) to take :setting:`FORCE_SCRIPT_NAME` into account when it
|
||||
is set.
|
||||
|
||||
Validators
|
||||
^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user