summaryrefslogtreecommitdiff
path: root/django/db/migrations/operations/models.py
AgeCommit message (Expand)Author
2017-06-14Refs #27914 -- Used __qualname__ in model operations' deconstruct().chillaranand
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-01Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.Ian Foote
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-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
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
2017-01-10Fixed #27717 -- Allowed migration optimization across AlterModelOptions.Ed Morley
2016-12-10Fixed #27310 -- Stopped rendering apps in RenameModel.state_forwards.Simon Charette
2016-10-04Fixed #27279 -- Fixed a migration performance regression related to RenameMod...Simon Charette
2016-09-28Fixed #27217 -- Fixed crash in CreateModel optimization with models that use ...Tim Graham
2016-08-16Refs #26709 -- Added index name to AddIndex.describe().Akshesh
2016-08-02Refs #26709 -- Replaced Index.get_name() with set_name_with_model().Akshesh
2016-07-28Fixed #26114 -- Fixed AlterModelTable.describe() if db_table is None.premanand lakshmanan
2016-07-07Refs #26709 -- Checked allow_migrate_model() in Add/RemoveIndex operations.Akshesh
2016-07-07Refs #26709 -- Added 'model' argument to SchemaEditor.add/remove_index()Akshesh
2016-07-07Refs #26709 -- Added IndexOperation to avoid code duplication.Akshesh
2016-07-07Refs #26709 -- Required a name for Indexes passed to AddIndex.Akshesh
2016-06-27Fixed #26709 -- Added class-based indexes.Akshesh
2016-06-20Fixed #26643 -- Prevented unnecessary AlterModelManagers operations caused by...Loïc Bistuer
2016-06-06Fixed #26710 -- Made CreateModel.references_model() take app_label into account.Sergey Fedoseev
2016-05-30Fixed #25044 -- Fixed migrations for renaming ManyToManyField's through model.Vytis Banaitis
2016-04-28Refs #26521 -- Adjusted CreateModel bases validation to account for mixins.Simon Charette
2016-04-27Refs #26521 -- Added the duplicated value to CreateModel validation messages.Simon Charette
2016-04-27Fixed #26521 -- Validated CreateModel bases, fields and managers for duplicates.James Robert
2016-03-03Fixed #26316 -- Factored duplicated code in model/field migration operations.Akshesh
2016-01-23Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.Simon Charette
2016-01-23Fixed #26064 -- Moved operation reduction logic to their own class.Simon Charette
2015-12-15Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.Simon Charette
2015-06-16Fixed #24828 -- Allowed migration optimization across AlterFooTogetherMarkus Holtermann
2015-04-30Fixed #24725 -- Allowed renaming of target models in ManyToMany relationsMarkus Holtermann
2015-04-21Refs #24354 -- Prevented repointing of relations on superclasses when migrati...Matthew Wilkes
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-15Fixed #24135 -- Made RenameModel rename many-to-many tables.Tim Graham
2015-01-07Refs #22608 -- Optimized migration optimizer and migrate by caching calls to ...Ulrich Petri
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
2015-01-02Fixed #23745 -- Reused states as much as possible in migrationsClaude Paroz
2015-01-02Replaced migration state render() by apps cached propertyClaude Paroz
2014-12-23Fixed #24037 -- Prevented data loss possibility when changing Meta.managed.Tim Graham
2014-12-16Fixed #23983 -- Fixed a crash in migrations when adding order_with_respect_to...Andriy Sokolovskiy
2014-12-15Fixed #23822 -- Added support for serializing model managers in migrationMarkus Holtermann
2014-11-28Fixed #23894 -- Made deconstruct methods favor kwargs over argsMarkus Holtermann
2014-11-22Revert "Fixed #23892 -- Made deconstructible classes forwards compatible"Carl Meyer
2014-11-22Fixed #23892 -- Made deconstructible classes forwards compatibleCarl Meyer
2014-11-20Fixed #23844 -- Used topological sort for migration operation dependency reso...Patryk Zawadzki
2014-11-19Fixed #22248 -- Made RenameModel reversibleStratos Moros