diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-04-19 00:05:58 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-04-19 00:08:21 +0200 |
| commit | ff6e8681a3ff50eb295e9cef38dc88f1e7ac5c52 (patch) | |
| tree | 6973b78cc0a3d00cc58a42d0bfb8b92542226955 | |
| parent | 8363f217f2d60e73682e791f60b7f3c07a651316 (diff) | |
[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.
| -rw-r--r-- | tests/schema/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
