summaryrefslogtreecommitdiff
path: root/django/db/migrations/optimizer.py
AgeCommit message (Expand)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-04-09Refs #22608 -- Made app_label required when optimizing migrations.Simon Charette
2020-03-02Refs #26064 -- Avoided unnecessary list slicing in migration optimizer.Simon Charette
2018-07-11Removed in_between from Operation.reduce()'s signature.Simon Charette
2018-07-11Fixed #27845 -- Allowed both right and left optimizations of operations.Simon Charette
2018-07-11Refs #27768 -- Reversed order of optimized and in-between operations.Simon Charette
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-01-23Fixed #26064 -- Moved operation reduction logic to their own class.Simon Charette
2015-06-16Sorted reduce methods in migration optimizerMarkus Holtermann
2015-06-16Fixed #24828 -- Allowed migration optimization across AlterFooTogetherMarkus Holtermann
2015-06-14Changed reduce method lookup in migration optimizer to dictMarkus Holtermann
2015-06-14Explicitly imported migration operations in optimizerMarkus Holtermann
2015-06-14Optimized duplicate AlterModelTable/AlterFooTogether/AlterOWRTMarkus Holtermann
2015-06-14Took AlterOrderWithRespectTo into account when optimizing migrationsMarkus Holtermann
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
2015-01-20Fixed typos in code comments.Adam Taylor
2015-01-07Refs #23822 -- Made MigrationOptimizer aware of model managersMarkus Holtermann
2015-01-07Refs #22608 -- Optimized migration optimizerMarkus Holtermann
2015-01-07Refs #22608 -- Optimized migration optimizer and migrate by caching calls to ...Ulrich Petri
2014-10-29Limited lines to 119 characters in django/{contrib,db}.Berker Peksag
2014-06-22Fixed #22875: Optimizer did not take through= into account.Andrew Godwin
2014-06-16Fixed #22847: Optimizer wasn't expecting unresolved FKsAndrew Godwin
2014-06-15Fixed several flake8 errorsAlex Gaynor
2014-06-15Fixed #22568: Better proxy model support in migrationsAndrew Godwin
2014-06-06Fixed flake8 errors.Tim Graham
2014-06-05Rewrote migration autodetector to involve actual computer science.Andrew Godwin
2014-05-06Added a bunch of missing unicode_literalsClaude Paroz
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-06flake8 fixesAlex Gaynor
2013-11-06Massive migration optimiser improvements + RenameModel opnAndrew Godwin
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-10-16Improve migration optimizer to be able to optimize through other opsAndrew Godwin
2013-10-02Initial version of MigrationOptimizer and testsAndrew Godwin