Visit http://localhost:8000/?name=Django%20user in your browser to see “Hello, Django user!”
Async support in Django 3.0 is the first step, and limited to the outer handler layer.
Middleware, views, the ORM, and everything you’re used to in Django remains synchronous.
The ASGI handler achieves this by running response generation in a thread pool.
If you want to use Websockets, you’ll need a second framework for now, like Channels or Starlette.
ASGI is a simple interface with a “turtles all the way down” approach.
This lets us glue our Django app to another with a “middleware” application:
ASGI support will increase with coming Django versions.
DEP 9 outlines Andrew’s plan for increasing ASGI support going forwards.
Hope this helps you get started experimenting with Django on ASGI,