From f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sun, 19 Apr 2015 00:05:58 +0200 Subject: [PATCH] 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. --- tests/schema/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/schema/models.py b/tests/schema/models.py index cf49d95abb..07b9496e14 100644 --- a/tests/schema/models.py +++ b/tests/schema/models.py @@ -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)