1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +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:
Claude Paroz 2015-04-19 00:05:58 +02:00
parent 8363f217f2
commit ff6e8681a3

View File

@ -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)