diff --git a/program/views.py b/program/views.py index 23439554013f33c15a7a653e818565d980f53975..285476d7bb6e7c3a5fd53f1acb55552e3f741e67 100644 --- a/program/views.py +++ b/program/views.py @@ -48,6 +48,7 @@ from program.models import ( LinkType, MusicFocus, Note, + RadioSettings, RRule, Schedule, ScheduleConflictError, @@ -67,6 +68,7 @@ from program.serializers import ( LinkTypeSerializer, MusicFocusSerializer, NoteSerializer, + RadioSettingsSerializer, RRuleSerializer, ScheduleConflictResponseSerializer, ScheduleCreateUpdateRequestSerializer, @@ -903,3 +905,8 @@ class APILinkTypeViewSet(viewsets.ModelViewSet): class APILicenseViewSet(viewsets.ModelViewSet): queryset = License.objects.all() serializer_class = LicenseSerializer + + +class APIRadioSettingsViewSet(mixins.ListModelMixin, viewsets.GenericViewSet): + queryset = RadioSettings.objects.all() + serializer_class = RadioSettingsSerializer