index
:
chango.git
devmain
fix-31295
initial-branch
main
stable/5.2.x
stable/6.0.x
django
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
migrations
/
test_optimizer.py
Age
Commit message (
Expand
)
Author
2025-06-19
Refs #35038 -- Reduced CreateModel/AlterConstraint operations when optimizing...
Jacob Walls
2024-11-28
Fixed #35038 -- Created AlterConstraint operation.
Salvo Polizzi
2024-09-03
Fixed #35704 -- Fixed reduction for AddIndex subclasses.
Adam Johnson
2024-08-30
Fixed #35700 -- Added AlterModelTable and AlterModelTableComment reductions.
Adam Johnson
2024-03-01
Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.
Simon Charette
2024-02-09
Refs #34534 -- Reduced constraint operations with Meta.constraints when optim...
Ben Cail
2023-09-18
Refs #27236 -- Removed Meta.index_together per deprecation timeline.
Mariusz Felisiak
2023-05-09
Refs #34534 -- Reduced Add/RemoveConstraint and Add/RenameIndex operations wh...
Akash Kumar Sen
2023-05-03
Fixed #34529, Refs #34525 -- Reduced index operations with Meta.indexes/index...
Mariusz Felisiak
2023-05-01
Fixed #34528 -- Reduced Add/RemoveIndex operations when optimizing migrations.
Mariusz Felisiak
2023-02-24
Fixed #34366 -- Reduced AlterField operations when optimizing migrations.
Laurent Tramoy
2022-07-26
Refs #27236 -- Reverted AlterIndexTogether deprecation.
Mariusz Felisiak
2022-07-12
Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.
David Wobrock
2022-05-12
Refs #27064 -- Added RenameIndex migration operation.
David Wobrock
2022-03-11
Fixed #33572 -- Implemented CreateModel/AlterModelManagers reduction.
Adam Johnson
2022-02-07
Refs #33476 -- Refactored code to strictly match 88 characters line length.
Mariusz Felisiak
2022-02-07
Refs #33476 -- Reformatted code with Black.
django-bot
2021-02-19
Fixed #32256 -- Fixed migration optimization crash when swapping field names.
Hasan Ramezani
2020-12-18
Fixed #32262 -- Fixed migration optimization for model creation and Meta opti...
Hasan Ramezani
2020-04-09
Refs #22608 -- Made app_label required when optimizing migrations.
Simon Charette
2019-01-21
Made assertOptimizesTo() more strict in migrations tests.
Vytis Banaitis
2018-07-19
Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.
Simon Charette
2018-07-19
Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.
Simon Charette
2018-07-11
Fixed #27845 -- Allowed both right and left optimizations of operations.
Simon Charette
2018-07-11
Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields.
Simon Charette
2018-07-11
Fixed #27768 -- Allowed migration optimization of CreateModel order.
Simon Charette
2018-07-10
Refs #22875 -- Fixed an optimizer test to use a valid scenario.
Simon Charette
2017-12-28
Removed unnecessary trailing commas and spaces in various code.
Mariusz Felisiak
2017-01-25
Simplified tests with assertDoesNotOptimize().
Ed Morley
2017-01-18
Refs #23919 -- Removed encoding preambles and future imports
Claude Paroz
2017-01-10
Fixed #27717 -- Allowed migration optimization across AlterModelOptions.
Ed Morley
2016-11-10
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
za
2016-06-06
Fixed #26710 -- Made CreateModel.references_model() take app_label into account.
Sergey Fedoseev
2016-04-27
Fixed #26521 -- Validated CreateModel bases, fields and managers for duplicates.
James Robert
2016-01-23
Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.
Simon Charette
2015-09-12
Fixed #23395 -- Limited line lengths to 119 characters.
Dražen Odobašić
2015-07-27
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...
Flavio Curella
2015-06-16
Fixed #24828 -- Allowed migration optimization across AlterFooTogether
Markus Holtermann
2015-06-14
Optimized duplicate AlterModelTable/AlterFooTogether/AlterOWRT
Markus Holtermann
2015-06-14
Took AlterOrderWithRespectTo into account when optimizing migrations
Markus Holtermann
2015-05-20
Refs #24652 -- Used SimpleTestCase where appropriate.
Simon Charette
2015-02-06
Sorted imports with isort; refs #23860.
Tim Graham
2015-01-07
Refs #23822 -- Made MigrationOptimizer aware of model managers
Markus Holtermann
2014-11-20
Fixed #23844 -- Used topological sort for migration operation dependency reso...
Patryk Zawadzki
2014-06-22
Fixed #22875: Optimizer did not take through= into account.
Andrew Godwin
2014-05-15
Harmonized some PEP 0263 coding preambles
Claude Paroz
2013-11-06
flake8 fixes
Alex Gaynor
2013-11-06
Massive migration optimiser improvements + RenameModel opn
Andrew Godwin
2013-11-03
Fixed all E251 violations
Alex Gaynor
2013-11-02
Fixed #21302 -- Fixed unused imports and import *.
Tim Graham
[next]