django1/django/db/migrations
Simon Charette 8e3f22f251 Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.
This should alleviate the side effects of disabling the AlterFooOperation
reduction with RemoveField to fix refs #28862 during migration squashing
because CreateModel can perform a reduction with RemoveField.

Thanks Nick Pope for the review.
2018-07-19 17:06:01 -04:00
..
operations Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction. 2018-07-19 17:06:01 -04:00
__init__.py Implement swappable model support for migrations 2014-01-19 16:43:12 +00:00
autodetector.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
exceptions.py Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
executor.py Fixed #28853 -- Updated connection.cursor() uses to use a context manager. 2017-11-28 11:28:09 -05:00
graph.py Fixed #29180 -- Fixed a regression where migrations already in the plan were readded. 2018-03-09 08:59:57 +01:00
loader.py Fixed #23406 -- Allowed migrations to be loaded from .pyc files. 2018-03-23 13:20:38 -04:00
migration.py Simplified various __eq__() methods. 2017-09-28 09:18:37 -04:00
optimizer.py Removed in_between from Operation.reduce()'s signature. 2018-07-11 10:49:50 -04:00
questioner.py Refs #28814 -- Fixed migrations crash with namespace packages on Python 3.7. 2018-02-05 13:29:32 -05:00
recorder.py Refs #27858 -- Fixed typo in MigrationRecorder.applied_migrations() comment. 2017-06-19 15:24:41 -04:00
serializer.py Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for better performance." 2018-06-28 11:14:26 -04:00
state.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
topological_sort.py Fixed #28860 -- Removed unnecessary len() calls. 2017-12-04 10:35:23 -05:00
utils.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
writer.py Fixed #28913 -- Fixed error handling when MIGRATIONS_MODULES specifies a nonexistent top-level package. 2018-05-05 18:26:33 -04:00