[newforms-admin] Add an option to `ModelAdmin`: section_name
|Reported by:||yi.codeplayer at gmail dot com||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently, admin interface use app label to group models into sections and use app label as the section name, but i think use a admin option to specify the section name would be more flexibly (e.g. you can use non-ascii character in the option but can't do that in app label, and the models in the same app can be displayed in several sections).
I named this option as section_name currently.
If not specified, the value of section_name is the same as app_label.
I've been using this feature widely, and i hope it can be accepted.
Change History (4)
Changed 9 years ago by yi.codeplayer at gmail dot com
comment:1 Changed 9 years ago by Simon G. <dev@…>
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Summary changed from newforms-admin: Add an option to `ModelAdmin`: section_name to [newforms-admin] Add an option to `ModelAdmin`: section_name
- Triage Stage changed from Unreviewed to Design decision needed