mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #23341 -- Added migration name to nonexistent migration error in makemigrations.
This commit is contained in:
committed by
Tim Graham
parent
19999befbe
commit
abd640fbdf
@@ -156,8 +156,8 @@ class AutodetectorTests(TestCase):
|
||||
graph.add_node(("testapp", "0001_initial"), None)
|
||||
graph.add_node(("testapp", "0002_foobar"), None)
|
||||
graph.add_node(("otherapp", "0001_initial"), None)
|
||||
graph.add_dependency(("testapp", "0002_foobar"), ("testapp", "0001_initial"))
|
||||
graph.add_dependency(("testapp", "0002_foobar"), ("otherapp", "0001_initial"))
|
||||
graph.add_dependency("testapp.0002_foobar", ("testapp", "0002_foobar"), ("testapp", "0001_initial"))
|
||||
graph.add_dependency("testapp.0002_foobar", ("testapp", "0002_foobar"), ("otherapp", "0001_initial"))
|
||||
# Use project state to make a new migration change set
|
||||
before = self.make_project_state([])
|
||||
after = self.make_project_state([self.author_empty, self.other_pony, self.other_stable])
|
||||
|
||||
Reference in New Issue
Block a user