diff --git a/program/admin.py b/program/admin.py index 0d7ea87c10bf37b9dbb8b49c3d1fa8081654da59..9ae72af151f6d28043b2e1ecf24fef43876ec2e4 100644 --- a/program/admin.py +++ b/program/admin.py @@ -10,11 +10,11 @@ from program.models import ( CBA, Category, FundingCategory, - Host, Language, License, LinkType, MusicFocus, + Profile, RadioSettings, RRule, Topic, @@ -38,8 +38,8 @@ class LicenseAdmin(admin.ModelAdmin): list_display = ("name", "identifier") -@admin.register(Host) -class HostAdmin(admin.ModelAdmin): +@admin.register(Profile) +class ProfileAdmin(admin.ModelAdmin): fields = ("name", "email", "biography", "created_at", "created_by", "updated_at", "updated_by") list_display = ("name",) readonly_fields = ("created_at", "created_by", "updated_at", "updated_by") @@ -122,11 +122,8 @@ class RadioSettingsAdmin(admin.ModelAdmin): "Image requirements", { "fields": [ - ("host_image_aspect_ratio", "host_image_shape"), - ( - "note_image_aspect_ratio", - "note_image_shape", - ), + ("note_image_aspect_ratio", "note_image_shape"), + ("profile_image_aspect_ratio", "profile_image_shape"), ("show_image_aspect_ratio", "show_image_shape"), ("show_logo_aspect_ratio", "show_logo_shape"), ]