[django/django] 6e7e5b: [1.7.x] Fixed #23071 -- Use last migration's name ...

15 views
Skip to first unread message

GitHub

unread,
Jul 25, 2014, 11:55:12 AM7/25/14
to django-...@googlegroups.com
Branch: refs/heads/stable/1.7.x
Home: https://github.com/django/django
Commit: 6e7e5bacd51d1ab4411c58eea04a137639a0a354
https://github.com/django/django/commit/6e7e5bacd51d1ab4411c58eea04a137639a0a354
Author: Jeroen Dekkers <jer...@dekkers.ch>
Date: 2014-07-25 (Fri, 25 Jul 2014)

Changed paths:
M django/db/migrations/autodetector.py
M django/db/migrations/loader.py
M tests/migrations/test_autodetector.py
M tests/migrations/test_loader.py
R tests/migrations/test_migrations_latest/0001_initial.py
R tests/migrations/test_migrations_latest/__init__.py
R tests/migrations/test_migrations_latest_basic/0001_initial.py
R tests/migrations/test_migrations_latest_basic/0002_second.py
R tests/migrations/test_migrations_latest_basic/__init__.py

Log Message:
-----------
[1.7.x] Fixed #23071 -- Use last migration's name in dependency to other app

Changed the autodetector to lookup the name of the other app's last
migration in the graph and use that as dependency instead of using
__latest__.


Reply all
Reply to author
Forward
0 new messages