1
0
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:
Tim Graham
2014-07-15 08:48:29 -04:00
parent f2011e21a2
commit fe5f29eb1d
2 changed files with 3 additions and 3 deletions

View File

@@ -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__")])