flatten_fieldsets
Return a list of field names from an admin fieldsets structure.
def flatten_fieldsets(
fieldsets: iterable
) - > list
Return a list of field names from an admin fieldsets structure.
Parameters
| Name | Type | Description |
|---|---|---|
| fieldsets | iterable | The Django-style admin fieldsets structure containing fieldset names and option dictionaries. |
Returns
| Type | Description |
|---|---|
list | A flat list of field names extracted from all fieldsets, including those nested within groups. |