mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[4.1.x] Refs #33646 -- Moved tests of QuerySet async interface into async tests.
Backport of e580b891cb from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
eca526eab0
commit
8740d2f452
@@ -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