1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +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:
Andrew Godwin
2019-04-12 06:15:18 -07:00
committed by Mariusz Felisiak
parent cce47ff65a
commit a415ce70be
38 changed files with 839 additions and 42 deletions

5
tests/async/models.py Normal file
View File

@@ -0,0 +1,5 @@
from django.db import models
class SimpleModel(models.Model):
field = models.IntegerField()