chore(api): move podcasts in dedicated app (#1899)

This commit is contained in:
Jonas L 2022-06-21 14:40:21 +02:00 committed by GitHub
parent 4004981429
commit b9895d19e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 37 additions and 21 deletions

View file

@ -0,0 +1,14 @@
from rest_framework import routers
from .views import (
ImportedPodcastViewSet,
PodcastEpisodeViewSet,
PodcastViewSet,
StationPodcastViewSet,
)
router = routers.DefaultRouter()
router.register("podcast-episodes", PodcastEpisodeViewSet)
router.register("podcasts", PodcastViewSet)
router.register("station-podcasts", StationPodcastViewSet)
router.register("imported-podcasts", ImportedPodcastViewSet)