mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Refs #33646 -- Moved tests of QuerySet async interface into async tests.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
from django.db import models
|
||||
from django.utils import timezone
|
||||
|
||||
|
||||
class RelatedModel(models.Model):
|
||||
simple = models.ForeignKey("SimpleModel", models.CASCADE, null=True)
|
||||
|
||||
|
||||
class SimpleModel(models.Model):
|
||||
field = models.IntegerField()
|
||||
created = models.DateTimeField(default=timezone.now)
|
||||
|
||||
Reference in New Issue
Block a user