mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
[1.7.x] Fixed #23008 -- Fixed typo causing bad migration dependencies.
Thanks semenov for the report and Florian for investigation.
Backport of 9a2ab62977 from master
This commit is contained in:
@@ -1045,4 +1045,4 @@ class AutodetectorTests(TestCase):
|
||||
self.assertOperationTypes(changes, 'otherapp', 0, ["CreateModel"])
|
||||
self.assertOperationAttributes(changes, 'otherapp', 0, 0, name="Book")
|
||||
# Right dependencies?
|
||||
self.assertEqual(changes['otherapp'][0].dependencies, [("migrations", "__last__")])
|
||||
self.assertEqual(changes['otherapp'][0].dependencies, [("migrations", "__latest__")])
|
||||
|
||||
Reference in New Issue
Block a user