summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.9.txt19
-rw-r--r--docs/spelling_wordlist1
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt
index 3f101a5f94..58522e75fa 100644
--- a/docs/releases/1.9.txt
+++ b/docs/releases/1.9.txt
@@ -458,6 +458,21 @@ Migrations
* When supplying ``None`` as a value in :setting:`MIGRATION_MODULES`, Django
will consider the app an app without migrations.
+* When applying migrations, the "Rendering model states" step that's displayed
+ when running migrate with verbosity 2 or higher now computes only the states
+ for the migrations that have already been applied. The model states for
+ migrations being applied are generated on demand, drastically reducing the
+ amount of required memory.
+
+ However, this improvement is not available when unapplying migrations and
+ therefore still requires the precomputation and storage of the intermediate
+ migration states.
+
+ This improvement also requires that Django no longer supports mixed migration
+ plans. Mixed plans consist of a list of migrations where some are being
+ applied and others are being unapplied. This was never officially supported
+ and never had a public API that supports this behavior.
+
Models
^^^^^^
@@ -1094,6 +1109,10 @@ Miscellaneous
* The system checks for :class:`~django.contrib.admin.ModelAdmin` now check
instances rather than classes.
+* The private API to apply mixed migration plans has been dropped for
+ performance reasons. Mixed plans consist of a list of migrations where some
+ are being applied and others are being unapplied.
+
.. _deprecated-features-1.9:
Features deprecated in 1.9
diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist
index 0aba338d18..b128ef873f 100644
--- a/docs/spelling_wordlist
+++ b/docs/spelling_wordlist
@@ -580,6 +580,7 @@ postgresql
pq
pre
precisions
+precomputation
preconfigured
prefetch
prefetched