1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +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:
Loic Bistuer
2013-07-31 12:52:11 +07:00
committed by Tim Graham
parent 61ecb5f48a
commit ebb3e50243
5 changed files with 80 additions and 13 deletions

View File

@@ -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
---