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:05:58 +0200 |
| commit | f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 (patch) | |
| tree | 08882254c3bb4e36f7a11add4416a88340bb0e81 | |
| parent | d5a0accaa090e4e65486930dbddaae5ad72aca3d (diff) | |
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.
| -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) |
