mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #30451 -- Added ASGI handler and coroutine-safety.
This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django.
This commit is contained in:
parent
cce47ff65a
commit
a415ce70be
38 changed files with 839 additions and 42 deletions
|
@ -2,16 +2,21 @@
|
|||
Deploying Django
|
||||
================
|
||||
|
||||
Django's chock-full of shortcuts to make Web developer's lives easier, but all
|
||||
Django is full of shortcuts to make Web developers' lives easier, but all
|
||||
those tools are of no use if you can't easily deploy your sites. Since Django's
|
||||
inception, ease of deployment has been a major goal.
|
||||
|
||||
This section contains guides to the two main ways to deploy Django. WSGI is the
|
||||
main Python standard for communicating between Web servers and applications,
|
||||
but it only supports synchronous code.
|
||||
|
||||
ASGI is the new, asynchronous-friendly standard that will allow your Django
|
||||
site to use asynchronous Python features, and asynchronous Django features as
|
||||
they are developed.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
wsgi/index
|
||||
asgi/index
|
||||
checklist
|
||||
|
||||
If you're new to deploying Django and/or Python, we'd recommend you try
|
||||
:doc:`mod_wsgi </howto/deployment/wsgi/modwsgi>` first. In most cases it'll be
|
||||
the easiest, fastest, and most stable deployment choice.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue