mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #24195 -- Deconstructed the limit_choices_to option of related fields.
Migrations will now be created for changes to limit_choices_to.
This commit is contained in:
parent
f2b6986317
commit
cd2fe829dd
4 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue