summaryrefslogtreecommitdiff
path: root/django/db/migrations/state.py
AgeCommit message (Expand)Author
2026-01-28Fixed #36878 -- Unified data type for *_together options in ModelState.Markus Holtermann
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-07-23Refs #36500 -- Shortened some long docstrings and comments.Mike Edmunds
2025-05-12Fixed #33174 -- Fixed migrations crash for model inheriting from Generic[T].Thibaut Decombe
2024-12-27Fixed #35991 -- Fixed crash when adding non-nullable field after renaming par...Mariusz Felisiak
2024-12-17Fixed #34856 -- Fixed references to index_together in historical migrations.Andrés Reverón Molina
2024-12-17Refs #27236 -- Removed references to index_together from ModelState.from_model.Simon Charette
2024-11-28Fixed #35038 -- Created AlterConstraint operation.Salvo Polizzi
2024-07-10Fixed #35424 -- Checked order_with_respect_to is available when migrating _or...Daniel Patrick
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-11-23Fixed #26827 -- Improved ModelState error message when relations refer model ...Prashant Pandey
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2022-07-16Fixed #33848 -- Optimized StateApps.clone().Iuri de Silvio
2022-05-12Refs #27064 -- Added RenameIndex migration operation.David Wobrock
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-21Fixed #33449 -- Fixed makemigrations crash on models without Meta.order_with_...Fabian Büchler
2021-11-02Fixed #33234 -- Fixed autodetector crash for proxy models inheriting from non...Mariusz Felisiak
2021-08-26Refs #29898 -- Changed fields in ProjectState's relation registry to dict.Mariusz Felisiak
2021-08-25Refs #29898 -- Made ProjectState encapsulate alterations in relations registry.Manav Agarwal
2021-08-20Refs #29898 -- Refactored out ProjectState.resolve_model_relations()/resolve_...Manav Agarwal
2021-08-19Fixed #33014 -- Made ProjectState raise exception when real_apps argument is ...Chris Jerdonek
2021-08-11Refs #29898 -- Changed ProjectState.real_apps to set.Mariusz Felisiak
2021-06-29Refs #29898 -- Moved state_forwards()'s logic from migration operations to Pr...manav014
2021-04-16Fixed #29899 -- Made autodetector use model states instead of model classes.David Wobrock
2020-12-22Refs #32285 -- Made AppConfigStub do not call super().__init__().Hasan Ramezani
2020-04-22Fixed #31499 -- Stored ModelState.fields into a dict.Simon Charette
2020-04-22Refs #31499 -- Ignored field ordering to determine ModelState equality.Simon Charette
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-09-10Removed unnecessary parens in _get_app_label_and_model_name().Mariusz Felisiak
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-08-25Simplified migrations.state.ProjectState.__eq__().Sergey Fedoseev
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-05-01Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.Ian Foote
2017-04-07Fixed #28051 -- Made migrations respect Index's name argument.Markus Holtermann
2017-03-21Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.Tim Graham
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-22Removed obsolete force_text_recursiveClaude Paroz
2017-01-19Refs #23919 -- Removed str() conversion of type and method __name__.Simon Charette
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette