From cd2fe829dddb4c8914ac62c93cd6d750a4e9c30c Mon Sep 17 00:00:00 2001 From: Adam BogdaƂ Date: Fri, 11 Nov 2016 02:38:16 +0100 Subject: Fixed #24195 -- Deconstructed the limit_choices_to option of related fields. Migrations will now be created for changes to limit_choices_to. --- docs/releases/2.0.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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 -- cgit v1.3