• Markus Holtermann's avatar
    Fixed #24743, #24745 -- Optimized migration plan handling · 5aa55038
    Markus Holtermann yazdı
    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.
    5aa55038
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
js_tests Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
Gruntfile.js Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
package.json Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...