mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user