summaryrefslogtreecommitdiff
path: root/django/db/migrations/state.py
AgeCommit message (Expand)Author
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
2017-01-18Refs #23919 -- Removed obsolete __ne__() methods.Aymeric Augustin
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future.Tim Graham
2017-01-17Refs #27666 -- Added ProjectState.reload_models().Markus Holtermann
2017-01-17Fixed #27666 -- Delayed rendering of recursivly related models in migration o...Markus Holtermann
2016-12-01Fixed #27546 -- Removed hardcoded class names in __repr__() methods.Keda87
2016-10-28Simplified AppConfig.import_models().Aymeric Augustin
2016-10-28Modified readiness check in AppConfig.get_model(s).Aymeric Augustin
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
2016-08-05Fixed #26808 -- Added Meta.indexes for class-based indexes.Akshesh
2016-07-09Fixed #26881 -- Fixed duplicate managers in migrations.Loïc Bistuer
2016-06-27Fixed #26709 -- Added class-based indexes.Akshesh
2016-06-20Fixed #26643 -- Prevented unnecessary AlterModelManagers operations caused by...Loïc Bistuer
2016-05-19Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and t...Alex Hill
2016-05-17Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models...Loïc Bistuer
2016-05-17Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer
2016-05-13Refs #24201 -- Ignored order_with_respect_to private fields in migrations.Simon Charette
2016-02-08Fixed typo in django/db/migrations/state.py.Tim Graham
2015-10-19Moved an inner function in db.migrations.state to avoid redefinition.Simon Charette
2015-10-19Refs #18012 -- Accounted for reverse proxy relations in migrations.Simon Charette
2015-09-17Refs #24215 -- Fixed Python 3.5 compatiblity for unhandled lazy ops error.Tim Graham
2015-09-07Refs #24215 -- Improved error message for unhandled lazy model operations.Alex Hill
2015-07-02Fixed #25040 -- Fixed migrations state crash with GenericForeignKeyKai Richard Koenig
2015-06-29Refs #20203 -- Allowed adding custom default manager to the model stateAndriy Sokolovskiy