mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Doc'd that django.setup() is called under ASGI.
This commit is contained in:
parent
54aecf95a2
commit
ef00d6ef88
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue