1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #31062 -- Doc'd asgi.py in tutorials and project templates.

This commit is contained in:
Mariusz Felisiak
2019-12-05 08:38:39 +01:00
committed by GitHub
parent 1f62c008d1
commit 3930ec1bf2
3 changed files with 8 additions and 3 deletions

View File

@@ -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

View File

@@ -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.