From 6ede5a3cb7ae92d6d8fdbd71805fb4742c672dd9 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 5 Dec 2019 08:38:39 +0100 Subject: [3.0.x] Fixed #31062 -- Doc'd asgi.py in tutorials and project templates. Backport of 3930ec1bf275d17f1c36cd38b38114177b1d1565 from master --- docs/intro/reusable-apps.txt | 1 + docs/intro/tutorial01.txt | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'docs/intro') diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index 3041fbe8e9..58069dc10a 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -61,6 +61,7 @@ After the previous tutorials, our project should look like this:: __init__.py settings.py urls.py + asgi.py wsgi.py polls/ __init__.py diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 2f4c59be18..c6554f3437 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -86,6 +86,7 @@ Let's look at what :djadmin:`startproject` created:: __init__.py settings.py urls.py + asgi.py wsgi.py These files are: @@ -113,6 +114,9 @@ These files are: "table of contents" of your Django-powered site. You can read more about URLs in :doc:`/topics/http/urls`. +* :file:`mysite/asgi.py`: An entry-point for ASGI-compatible web servers to + serve your project. See :doc:`/howto/deployment/asgi/index` for more details. + * :file:`mysite/wsgi.py`: An entry-point for WSGI-compatible web servers to serve your project. See :doc:`/howto/deployment/wsgi/index` for more details. -- cgit v1.3