django1/django/db/migrations
Markus Holtermann f287bec583 Fixed #24184 -- Prevented automatic soft-apply of migrations
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.

Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
2015-02-13 14:29:59 +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 Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
topological_sort.py Fixed #23844 -- Used topological sort for migration operation dependency resolution. 2014-11-20 12:49:49 -05:00
writer.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00