From ff6e8681a3ff50eb295e9cef38dc88f1e7ac5c52 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sun, 19 Apr 2015 00:05:58 +0200 Subject: [PATCH] [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. --- 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)