Skip to content
Snippets Groups Projects
Verified Commit 20988ba6 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

feat: add Image requirements to RadioSettingsAdmin

parent 56b0c00d
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,21 @@ admin.site.register(User, UserProfileUserAdmin)
class RadioSettingsAdmin(admin.ModelAdmin):
fieldsets = [
(None, {"fields": ["station_name", "station_website", "station_logo"]}),
("Programme", {"fields": ["fallback_show"]}),
(
"Image requirements",
{
"fields": [
("host_image_aspect_ratio", "host_image_shape"),
(
"note_image_aspect_ratio",
"note_image_shape",
),
("show_image_aspect_ratio", "show_image_shape"),
("show_logo_aspect_ratio", "show_logo_shape"),
]
},
),
("Programme", {"fields": [("fallback_show", "fallback_default_pool"), "micro_show"]}),
("CBA", {"fields": ["cba_api_key", "cba_domains"]}),
("Playout", {"fields": ["line_in_channels"]}),
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment