mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
* Fixed #29010 -- Added limit_choices_to support to autocomplete fields. * Fixed #29138 -- Allowed autocomplete fields to target a custom to_field rather than the PK.
This commit is contained in:
parent
ba3fb2e4d0
commit
3071660acf
11 changed files with 200 additions and 60 deletions
|
@ -119,6 +119,12 @@ Minor features
|
|||
|
||||
* The admin now supports theming. See :ref:`admin-theming` for more details.
|
||||
|
||||
* :attr:`.ModelAdmin.autocomplete_fields` now respects
|
||||
:attr:`ForeignKey.to_field <django.db.models.ForeignKey.to_field>` and
|
||||
:attr:`ForeignKey.limit_choices_to
|
||||
<django.db.models.ForeignKey.limit_choices_to>` when searching a related
|
||||
model.
|
||||
|
||||
:mod:`django.contrib.admindocs`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue