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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user