mirror of https://github.com/django/django.git
Fixed #24658 -- Added missing Meta attribute in schema tests
Without that, the Note model would be initially created and then the tests using that model failed when run in isolation.
This commit is contained in:
parent
d5a0accaa0
commit
f54c0ec06e
|
@ -83,6 +83,9 @@ class BookWithSlug(models.Model):
|
|||
class Note(models.Model):
|
||||
info = models.TextField()
|
||||
|
||||
class Meta:
|
||||
apps = new_apps
|
||||
|
||||
|
||||
class Tag(models.Model):
|
||||
title = models.CharField(max_length=255)
|
||||
|
|
Loading…
Reference in New Issue