[django/django] 358269: Fixed #23071 -- Use last migration's name in depen...

3 views
Skip to first unread message

GitHub

unread,
Jul 25, 2014, 11:54:02 AM7/25/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 3582698c138a7a311d12a57d0b35359815e8dbc9
https://github.com/django/django/commit/3582698c138a7a311d12a57d0b35359815e8dbc9
Author: Jeroen Dekkers <jer...@dekkers.ch>
Date: 2014-07-22 (Tue, 22 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:
-----------
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__.


Commit: ed4812692e3a103444303b0a3dd1429bbdf9511c
https://github.com/django/django/commit/ed4812692e3a103444303b0a3dd1429bbdf9511c
Author: Andrew Godwin <and...@aeracode.org>
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:
-----------
Merge pull request #2938 from dekkers/ticket_23071

Fixed #23071 -- Use last migration's name in dependency to other app


Compare: https://github.com/django/django/compare/f9b7a0383c6f...ed4812692e3a
Reply all
Reply to author
Forward
0 new messages