django1/django/db/migrations
Fabian Büchler b32080219e [4.0.x] Fixed #33449 -- Fixed makemigrations crash on models without Meta.order_with_respect_to but with _order field.
Regression in aa4acc164d.

Backport of eeff1787b0 from main
2022-01-21 08:46:14 +01: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 [4.0.x] Fixed #31503 -- Made autodetector remove unique/index_together before altering fields. 2021-10-25 10:45:35 +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 #24900 -- Allowed migrating backward to squashed migrations. 2021-08-30 12:08:04 +02:00
graph.py Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments. 2021-07-27 10:41:51 +02:00
loader.py Refs #29898 -- Changed ProjectState.real_apps to set. 2021-08-11 09:01:14 +02: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 [4.0.x] Refs #32900 -- Restored '[y/N]' in questioner prompt when merging migrations. 2021-10-11 09:40:06 +02:00
recorder.py Fixed #31233 -- Closed database connections and cursors after use. 2020-02-06 15:35:23 +01:00
serializer.py Fixed #32365 -- Made zoneinfo the default timezone implementation. 2021-09-16 12:11:05 +02:00
state.py [4.0.x] Fixed #33449 -- Fixed makemigrations crash on models without Meta.order_with_respect_to but with _order field. 2022-01-21 08:46:14 +01: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