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

[4.2.x] Refs #31626 -- Noted that Daphne provides a runserver command.

Backport of 279e611c01 from main
This commit is contained in:
Carlton Gibson
2023-03-07 19:47:55 +01:00
committed by Mariusz Felisiak
parent 046d2b9edb
commit d89d517f90
2 changed files with 26 additions and 0 deletions

View File

@@ -1019,6 +1019,13 @@ By default, the development server doesn't serve any static files for your site
you want to configure Django to serve static media, read
:doc:`/howto/static-files/index`.
Serving with ASGI in development
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Django's ``runserver`` command provides a WSGI server. In order to run under
ASGI you will need to use an :doc:`ASGI server </howto/deployment/asgi/index>`.
The Django Daphne project provides :ref:`daphne-runserver` that you can use.
``sendtestemail``
-----------------