# Path: radioco/apps/api/views.py
# class ProgrammeFilter(filters.FilterSet):
#     class Meta:
# class ProgrammeFilterForm(forms.Form):
# class ProgrammeViewSet(viewsets.ModelViewSet):
# class RadiocomProgrammeViewSet(ProgrammeViewSet):
# class EpisodeFilter(filters.FilterSet):
#     class Meta:
# class EpisodeViewSet(viewsets.ReadOnlyModelViewSet):  # FIXME: allowing creation breaks the view
# class ScheduleFilter(filters.FilterSet):
#     class Meta:
# class ScheduleViewSet(viewsets.ModelViewSet):
# class TimezoneForm(forms.Form):
# class TransmissionForm(TimezoneForm):
# class TransmissionViewSet(viewsets.ReadOnlyModelViewSet):
# class RadiocomTransmissionViewSet(TransmissionViewSet):
# class TransmissionOperationViewSet(UpdateOnlyModelViewSet):
# class RadiocomStation(viewsets.ReadOnlyModelViewSet):
#     def clean(self):
#     def list(self, request, *args, **kwargs):
#     def clean_timezone(self):
#     def clean(self):
#     def list(self, request, *args, **kwargs):
#     def now(self, request):
#     def update(self, request, *args, **kwargs):
#     def perform_update(self, serializer):
#     def list(self, request, *args, **kwargs):


from rest_framework import routers
from radioco.apps.api import views
from django.conf.urls import include, url


router = routers.DefaultRouter(trailing_slash=False)
router.register(r'programmes', views.ProgrammeViewSet)
router.register(r'episodes', views.EpisodeViewSet)

# Path: radioco/apps/api/views.py
# class ProgrammeFilter(filters.FilterSet):
#     class Meta:
# class ProgrammeFilterForm(forms.Form):
# class ProgrammeViewSet(viewsets.ModelViewSet):
# class RadiocomProgrammeViewSet(ProgrammeViewSet):
# class EpisodeFilter(filters.FilterSet):
#     class Meta:
# class EpisodeViewSet(viewsets.ReadOnlyModelViewSet):  # FIXME: allowing creation breaks the view
# class ScheduleFilter(filters.FilterSet):
#     class Meta:
# class ScheduleViewSet(viewsets.ModelViewSet):
# class TimezoneForm(forms.Form):
# class TransmissionForm(TimezoneForm):
# class TransmissionViewSet(viewsets.ReadOnlyModelViewSet):
# class RadiocomTransmissionViewSet(TransmissionViewSet):
# class TransmissionOperationViewSet(UpdateOnlyModelViewSet):
# class RadiocomStation(viewsets.ReadOnlyModelViewSet):
#     def clean(self):
#     def list(self, request, *args, **kwargs):
#     def clean_timezone(self):
#     def clean(self):
#     def list(self, request, *args, **kwargs):
#     def now(self, request):
#     def update(self, request, *args, **kwargs):
#     def perform_update(self, serializer):
#     def list(self, request, *args, **kwargs):


# Path: radioco/apps/api/urls.py
from rest_framework import routers
from radioco.apps.api import views
from django.conf.urls import include, url



router = routers.DefaultRouter(trailing_slash=False)
router.register(r'programmes', views.ProgrammeViewSet)
router.register(r'episodes', views.EpisodeViewSet)

router.register(r'schedules', views.ScheduleViewSet)