mirror of
https://github.com/django/django.git
synced 2024-12-25 10:35:48 +00:00
[1.8.x] 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.
Backport of f54c0ec06e
from master.
This commit is contained in:
parent
8363f217f2
commit
ff6e8681a3
@ -83,6 +83,9 @@ class BookWithSlug(models.Model):
|
|||||||
class Note(models.Model):
|
class Note(models.Model):
|
||||||
info = models.TextField()
|
info = models.TextField()
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
apps = new_apps
|
||||||
|
|
||||||
|
|
||||||
class Tag(models.Model):
|
class Tag(models.Model):
|
||||||
title = models.CharField(max_length=255)
|
title = models.CharField(max_length=255)
|
||||||
|
Loading…
Reference in New Issue
Block a user