summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorMarten Kenbeek <marten.knbk@gmail.com>2015-02-06 14:24:51 +0100
committerMarkus Holtermann <info@markusholtermann.eu>2015-02-18 19:11:51 +0100
commit84c9b24c5afba524c8dcb4bb5f7c40c43291d132 (patch)
treef0aa4c4b83627d38096c2890b35a380d4f8750a1 /tests/postgres_tests
parent4abadc4872d96c993b472eb23ae0b0a7d24fc3e5 (diff)
[1.8.x] Fixed #24291 - Fixed migration ModelState generation with unused swappable models
Swapped out models don't have a _default_manager unless they have explicitly defined managers. ModelState.from_model() now accounts for this case and uses an empty list for managers if no explicit managers are defined and a model is swapped out. Backport of 15dc8d1c9d3697170a2c59ecaa7a2b4ba58f5990 from master
Diffstat (limited to 'tests/postgres_tests')
0 files changed, 0 insertions, 0 deletions