summaryrefslogtreecommitdiff
path: root/tests/migrations/test_operations.py
AgeCommit message (Expand)Author
2017-12-01[2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite.Simon Charette
2017-12-01[2.0.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign ke...Tim Graham
2017-08-10Fixed #28386 -- Made operations within non-atomic migrations honor the operat...Evan Grim
2017-08-10Added missing test for RunPython behavior when unapplying.Evan Grim
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-30Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent...Simon Charette
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-05-09Refs #22397 -- Removed model in test cleanupMarkus Holtermann
2017-05-01Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.Ian Foote
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
2017-01-13Made contenttypes and auth apps unavailable when not necessary in tests.Simon Charette
2016-12-10Fixed #27310 -- Stopped rendering apps in RenameModel.state_forwards.Simon Charette
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
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-05Fixed #26808 -- Added Meta.indexes for class-based indexes.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 -- Required a name for Indexes passed to AddIndex.Akshesh
2016-06-27Fixed #26709 -- Added class-based indexes.Akshesh
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
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-04-22Fixed #26320 -- Deprecated implicit OneToOnField parent_link.Tim Graham
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-04-03Added missing primary keys to some OperationTestsMarkus Holtermann
2016-01-29Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as app...Hasan
2016-01-23Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.Simon Charette
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-12-15Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.Simon Charette
2015-12-10Refs #25896 -- Fixed migration test failure on OracleShai Berger
2015-12-09Fixed #25896 -- Fixed state bug in SeparateDatabaseAndState.database_backward...Amos Onn
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-08-08Used skipUnlessDBFeature where appropriate.Simon Charette
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella
2015-04-30Fixed #24725 -- Allowed renaming of target models in ManyToMany relationsMarkus Holtermann
2015-04-17Fixed #24595 -- Prevented loss of null info in MySQL field alterationClaude Paroz
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
2015-03-14Refs #24354 -- Prevented repointing of relations on superclasses when migrati...Matthew Wilkes
2015-02-18Fixed #24362: Made test run each migration operation in its own schema editorShai Berger
2015-02-16Refs #24282 -- Added failing test case for assigning models of wrong type to FKMarkus Holtermann
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-11Removed supports_binary_field flag as all backends support themClaude Paroz
2015-01-10Fixed #24110 -- Rewrote migration unapply to preserve intermediate statesMarkus Holtermann
2015-01-10Fixed #22583 -- Allowed RunPython and RunSQL to provide hints to the db router.Loic Bistuer