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:31 +0100 |
| commit | 2984b30ce84eccedfcc5b5241d12720913d0b80a (patch) | |
| tree | 0000ffd55720cb4ab9a3c38ce0cc0fed9b69c864 /tests/migration_test_data_persistence | |
| parent | 5875b8d13333bf709b54f91a143304826d57f2fd (diff) | |
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 |
