django-unfold
django-unfold copied to clipboard
New setting to show `DEBUG` badge
Is it a third party application feature request?
No
Describe your feature request
New setting. Example:
"SHOW_DEBUG": False, # show/hide "Debug" badge, default: False
Alternatively it could be a callback function or instead of a boolean, it could be: None | "info" | "danger" | "warning" | "success"
and by default it's None (or empty string), so the current behavior won't change:
"SHOW_DEBUG": None, # show/hide "Debug" badge, default: None. Can be info, danger, warning, success