diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2014-07-21 10:09:31 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2014-07-21 10:09:58 +0100 |
| commit | ff8d715a0a62eb4d70e6c2bf38fa1113ed2899e5 (patch) | |
| tree | 98318a707febf209e8e3ec44c1b3288117ee6a55 /tests/migration_test_data_persistence | |
| parent | 2fb1939a9efae24560d41fbb7f6a280a1d2e8d06 (diff) | |
[1.7.x] Fixed #23039: Don't try to serialize unmanaged models in tests
Diffstat (limited to 'tests/migration_test_data_persistence')
| -rw-r--r-- | tests/migration_test_data_persistence/models.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/migration_test_data_persistence/models.py b/tests/migration_test_data_persistence/models.py index 1b0b795d2c..c1572d5ddf 100644 --- a/tests/migration_test_data_persistence/models.py +++ b/tests/migration_test_data_persistence/models.py @@ -3,3 +3,10 @@ from django.db import models class Book(models.Model): title = models.CharField(max_length=100) + + +class Unmanaged(models.Model): + title = models.CharField(max_length=100) + + class Meta: + managed = False |
