django1/django
Markus Holtermann 5aa55038ca Fixed #24743, #24745 -- Optimized migration plan handling
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.
2015-09-19 14:54:53 +10:00
..
apps Refs #24215 -- Fixed Python 3.5 compatiblity for unhandled lazy ops error. 2015-09-17 10:06:52 -04:00
bin Removed bin/unique-messages.py 2015-02-06 08:47:38 -05:00
conf Fixed #25356 -- Removed default_app_config from startapp template. 2015-09-07 15:23:11 -04:00
contrib Fixed #24944 -- Added extra_email_context parameter to password_reset() view. 2015-09-18 18:56:04 -04:00
core Fixed #24636 -- Added model field validation for decimal places and max digits. 2015-09-18 14:30:20 -04:00
db Fixed #24743, #24745 -- Optimized migration plan handling 2015-09-19 14:54:53 +10:00
dispatch Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
forms Fixed #24636 -- Added model field validation for decimal places and max digits. 2015-09-18 14:30:20 -04:00
http Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN. 2015-09-16 12:21:50 -04:00
middleware Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN. 2015-09-16 12:21:50 -04:00
template Fixed #25404 -- Added line numbers to TemplateSyntaxError strings. 2015-09-15 12:25:13 -04:00
templatetags Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
test Prevented --parallel from crashing on Windows. 2015-09-14 22:52:04 +02:00
utils Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators. 2015-09-18 19:04:29 -04:00
views Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
__init__.py Bumped version; master is now 1.9 pre-alpha. 2015-01-16 17:04:35 -05:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00