django1/django/db/migrations
Marten Kenbeek 15dc8d1c9d 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.
2015-02-18 19:05:10 +01:00
..
operations Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
__init__.py Implement swappable model support for migrations 2014-01-19 16:43:12 +00:00
autodetector.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
executor.py Fixed #24184 -- Prevented automatic soft-apply of migrations 2015-02-13 14:29:59 +01:00
graph.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
loader.py Revert "Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth" 2015-02-07 20:14:49 +01:00
migration.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
optimizer.py Fixed typos in code comments. 2015-01-20 12:18:03 -05:00
questioner.py Limited lines to 119 characters in django/{contrib,db}. 2014-10-29 07:59:35 -04:00
recorder.py Removed the syncdb command per deprecation timeline. 2015-01-17 09:20:12 -05:00
state.py Fixed #24291 - Fixed migration ModelState generation with unused swappable models 2015-02-18 19:05:10 +01:00
topological_sort.py Fixed #23844 -- Used topological sort for migration operation dependency resolution. 2014-11-20 12:49:49 -05:00
writer.py Refs #24324 -- Fixed UnicodeDecodeError in MigrationWriter on Python 2. 2015-02-17 18:48:15 -05:00