django1/django/db/migrations
abhiabhi94 fde6fb2898 Fixed #32893 -- Fixed serialization of models.Model class in migrations.
Migrations assumed that an import of the models.Model class must
already be included when it's serialized, but for models with only
custom fields this was not necessarily the case.

Thanks Jaap Joris Vens for the report.
2021-07-01 12:42:32 +02:00
..
operations Refs #29898 -- Moved state_forwards()'s logic from migration operations to ProjectState. 2021-06-29 12:03:30 +02:00
__init__.py Implement swappable model support for migrations 2014-01-19 16:43:12 +00:00
autodetector.py Fixed typos in comments and docs. 2021-05-29 12:51:14 +02:00
exceptions.py Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
executor.py Fixed #25255 -- Recorded unapplied squashed migrations. 2021-06-08 08:40:34 +02:00
graph.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
loader.py Fixed #32302 -- Allowed migrations to be loaded from regular packages with no __file__ attribute. 2020-12-29 12:54:08 +01:00
migration.py Fixed #31516 -- Improved naming of migrations with multiple operations. 2021-03-12 11:56:12 +01:00
optimizer.py Refs #22608 -- Made app_label required when optimizing migrations. 2020-04-09 10:08:02 +02:00
questioner.py Fixed #32355 -- Dropped support for Python 3.6 and 3.7 2021-02-10 10:20:54 +01:00
recorder.py Fixed #31233 -- Closed database connections and cursors after use. 2020-02-06 15:35:23 +01:00
serializer.py Fixed #32893 -- Fixed serialization of models.Model class in migrations. 2021-07-01 12:42:32 +02:00
state.py Refs #29898 -- Moved state_forwards()'s logic from migration operations to ProjectState. 2021-06-29 12:03:30 +02:00
utils.py Refs #29898 -- Moved django.db.migrations.operations.utils to django.db.migrations.utils. 2021-06-22 09:26:18 +02:00
writer.py Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=True). 2019-01-31 12:53:36 -05:00