diff options
| author | Marten Kenbeek <marten.knbk@gmail.com> | 2015-02-06 14:24:51 +0100 |
|---|---|---|
| committer | Markus Holtermann <info@markusholtermann.eu> | 2015-02-18 19:11:51 +0100 |
| commit | 84c9b24c5afba524c8dcb4bb5f7c40c43291d132 (patch) | |
| tree | f0aa4c4b83627d38096c2890b35a380d4f8750a1 /tests/postgres_tests/test_array.py | |
| parent | 4abadc4872d96c993b472eb23ae0b0a7d24fc3e5 (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/test_array.py')
0 files changed, 0 insertions, 0 deletions
