mirror of
https://github.com/django/django.git
synced 2025-02-04 14:37:19 +00:00
[4.2.x] Doc'd that django.setup() is called under ASGI.
Backport of ef00d6ef8846c6b17d41ce46fa3798313e0c5b66 from main
This commit is contained in:
parent
125abb7cab
commit
afb200e3ab
@ -425,7 +425,7 @@ application registry.
|
||||
|
||||
This function is called automatically:
|
||||
|
||||
* When running an HTTP server via Django's WSGI support.
|
||||
* When running an HTTP server via Django's ASGI or WSGI support.
|
||||
* When invoking a management command.
|
||||
|
||||
It must be called explicitly in other cases, for instance in plain Python
|
||||
|
Loading…
x
Reference in New Issue
Block a user