Is it possible to disable verbose_name_plural if add_permission is False?

50 views
Skip to first unread message

al...@alexnewby.com

unread,
May 24, 2021, 9:22:28 AM5/24/21
to Django developers (Contributions to Django itself)
If there is an inline admin, the inline_admin_formset verbose_name_plural is displayed even if add_permission is False and there are no existing objects.

https://github.com/django/django/blob/7ef2398e814e044d54b68359d473cc64902a8c31/django/contrib/admin/templates/admin/edit_inline/stacked.html#L10

Can it be disabled without overriding the form?

Thanks,

Alex
Reply all
Reply to author
Forward
0 new messages