1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Removed support for initial_data fixtures per deprecation timeline.

This commit is contained in:
Tim Graham
2014-12-26 13:23:38 -05:00
parent f635d75935
commit 67235fd4ef
21 changed files with 22 additions and 241 deletions

View File

@@ -28,7 +28,7 @@ class SwappableModelTests(TestCase):
# Re-run migrate. This will re-build the permissions and content types.
new_io = StringIO()
management.call_command('migrate', load_initial_data=False, interactive=False, stdout=new_io)
management.call_command('migrate', interactive=False, stdout=new_io)
# Check that content types and permissions exist for the swapped model,
# but not for the swappable model.