mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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
5
tests/async/models.py
Normal file
5
tests/async/models.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from django.db import models
|
||||
|
||||
|
||||
class SimpleModel(models.Model):
|
||||
field = models.IntegerField()
|
Loading…
Add table
Add a link
Reference in a new issue