summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam BogdaƂ <adam@bogdal.pl>2016-11-11 02:38:16 +0100
committerTim Graham <timograham@gmail.com>2017-06-14 08:57:24 -0400
commitcd2fe829dddb4c8914ac62c93cd6d750a4e9c30c (patch)
tree4cda6296e3abf0d1c466da30fd5836f4614c2db6 /docs
parentf2b698631719c6df082a627b6f7ddf2d7f9fa751 (diff)
Fixed #24195 -- Deconstructed the limit_choices_to option of related fields.
Migrations will now be created for changes to limit_choices_to.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/2.0.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt
index 5214b3f2f5..dae5dab9fe 100644
--- a/docs/releases/2.0.txt
+++ b/docs/releases/2.0.txt
@@ -444,6 +444,10 @@ Miscellaneous
* A model instance's primary key now appears in the default ``Model.__str__()``
method, e.g. ``Question object (1)``.
+* ``makemigrations`` now detects changes to the model field ``limit_choices_to``
+ option. Add this to your existing migrations or accept an auto-generated
+ migration for fields that use it.
+
.. _deprecated-features-2.0:
Features deprecated in 2.0