django-unfold icon indicating copy to clipboard operation
django-unfold copied to clipboard

New setting to show `DEBUG` badge

Open Zerotask opened this issue 4 months ago • 0 comments

image

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

Zerotask avatar Oct 22 '24 17:10 Zerotask