mirror of
https://github.com/django/django.git
synced 2025-11-02 12:58:56 +00:00
Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.
Refs #18681. This also starts the deprecation of ModelAdmin.declared_fieldsets
This commit is contained in:
parent
61ecb5f48a
commit
ebb3e50243
5 changed files with 80 additions and 13 deletions
|
|
@ -426,6 +426,8 @@ these changes.
|
|||
* ``django.utils.datastructures.SortedDict`` will be removed. Use
|
||||
:class:`collections.OrderedDict` from the Python standard library instead.
|
||||
|
||||
* ``ModelAdmin.declared_fieldsets`` will be removed.
|
||||
|
||||
2.0
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue