summaryrefslogtreecommitdiff
path: root/tests/migrations2
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-014-4/+0
| | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-074-8/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-184-12/+0
|
* Fixed #24743, #24745 -- Optimized migration plan handlingMarkus Holtermann2015-09-192-0/+24
| | | | | | | | | | | | | | | | The change partly goes back to the old behavior for forwards migrations which should reduce the amount of memory consumption (#24745). However, by the way the current state computation is done (there is no `state_backwards` on a migration class) this change cannot be applied to backwards migrations. Hence rolling back migrations still requires the precomputation and storage of the intermediate migration states. This improvement also implies that Django does not handle mixed migration plans anymore. Mixed plans consist of a list of migrations where some are being applied and others are being unapplied. Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well as everybody involved on the ticket that kept me looking into the issue.
* Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the ↵Tim Graham2014-09-242-16/+0
| | | | | | wrong migrations." This reverts commit abcf28a07695a45cb5fb15b81bffc97bea5e0be3.
* Fixed #23474 -- Prevented migrating backwards from unapplying the wrong ↵valtron2014-09-152-0/+16
| | | | migrations.
* Fixed #22861: Internal migrations done first so __first__ worksAndrew Godwin2014-06-173-0/+48
| | | | Thanks to Chris Beaven.
* Removed usaged of contrib.sessions as a placeholder in migration tests.Tim Graham2014-06-164-0/+25
Without this, we're unable to add actual migrations for the app.