mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23745 -- Reused states as much as possible in migrations
Thanks Tim Graham and Markus Holtermann for the reviews.
This commit is contained in:
@@ -410,7 +410,7 @@ class AutodetectorTests(TestCase):
|
||||
"Shortcut to make ProjectStates from lists of predefined models"
|
||||
project_state = ProjectState()
|
||||
for model_state in model_states:
|
||||
project_state.add_model_state(model_state.clone())
|
||||
project_state.add_model(model_state.clone())
|
||||
return project_state
|
||||
|
||||
def test_arrange_for_graph(self):
|
||||
|
||||
Reference in New Issue
Block a user