django1/django/db/migrations
Markus Holtermann bd80fa6b0f [1.8.x] 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.

Backport of f287bec583 from master
2015-02-13 15:21:10 +01:00
..
operations [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
__init__.py Implement swappable model support for migrations 2014-01-19 16:43:12 +00:00
autodetector.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
executor.py [1.8.x] Fixed #24184 -- Prevented automatic soft-apply of migrations 2015-02-13 15:21:10 +01:00
graph.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
loader.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
migration.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
optimizer.py [1.8.x] Fixed typos in code comments. 2015-01-20 12:18:29 -05:00
questioner.py Limited lines to 119 characters in django/{contrib,db}. 2014-10-29 07:59:35 -04:00
recorder.py Called table_names instead of get_table_list in migrations 2014-09-23 20:13:31 +02:00
state.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -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 [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00