From afb200e3ab77e9dd6e35e2c5e966531245e86060 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 28 Feb 2023 13:18:41 +0000 Subject: [PATCH] [4.2.x] Doc'd that django.setup() is called under ASGI. Backport of ef00d6ef8846c6b17d41ce46fa3798313e0c5b66 from main --- docs/ref/applications.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt index 00bf71239c..fc4caba669 100644 --- a/docs/ref/applications.txt +++ b/docs/ref/applications.txt @@ -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