Skip to content

Commit

Permalink
[3.0.x] Fixed #31062 -- Doc'd asgi.py in tutorials and project templa…
Browse files Browse the repository at this point in the history
…tes.

Backport of 3930ec1 from master
  • Loading branch information
felixxm committed Dec 5, 2019
1 parent 7263c77 commit 6ede5a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/intro/reusable-apps.txt
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions docs/intro/tutorial01.txt
Expand Up @@ -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:
Expand Down Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions docs/ref/applications.txt
Expand Up @@ -22,9 +22,9 @@ The term **project** describes a Django web application. The project Python
package is defined primarily by a settings module, but it usually contains
other things. For example, when you run ``django-admin startproject mysite``
you'll get a ``mysite`` project directory that contains a ``mysite`` Python
package with ``settings.py``, ``urls.py``, and ``wsgi.py``. The project package
is often extended to include things like fixtures, CSS, and templates which
aren't tied to a particular application.
package with ``settings.py``, ``urls.py``, ``asgi.py`` and ``wsgi.py``. The
project package is often extended to include things like fixtures, CSS, and
templates which aren't tied to a particular application.

A **project's root directory** (the one that contains ``manage.py``) is usually
the container for all of a project's applications which aren't installed
Expand Down

0 comments on commit 6ede5a3

Please sign in to comment.