chore(api): move podcasts in dedicated app (#1899)
This commit is contained in:
parent
4004981429
commit
b9895d19e2
15 changed files with 37 additions and 21 deletions
|
@ -1,11 +1,8 @@
|
|||
from rest_framework import routers
|
||||
|
||||
from .views import (
|
||||
ImportedPodcastViewSet,
|
||||
PlaylistContentViewSet,
|
||||
PlaylistViewSet,
|
||||
PodcastEpisodeViewSet,
|
||||
PodcastViewSet,
|
||||
ScheduleViewSet,
|
||||
ShowDaysViewSet,
|
||||
ShowHostViewSet,
|
||||
|
@ -15,7 +12,6 @@ from .views import (
|
|||
SmartBlockContentViewSet,
|
||||
SmartBlockCriteriaViewSet,
|
||||
SmartBlockViewSet,
|
||||
StationPodcastViewSet,
|
||||
WebstreamMetadataViewSet,
|
||||
WebstreamViewSet,
|
||||
)
|
||||
|
@ -23,10 +19,6 @@ from .views import (
|
|||
router = routers.DefaultRouter()
|
||||
router.register("playlist-contents", PlaylistContentViewSet)
|
||||
router.register("playlists", PlaylistViewSet)
|
||||
router.register("podcast-episodes", PodcastEpisodeViewSet)
|
||||
router.register("podcasts", PodcastViewSet)
|
||||
router.register("station-podcasts", StationPodcastViewSet)
|
||||
router.register("imported-podcasts", ImportedPodcastViewSet)
|
||||
router.register("schedule", ScheduleViewSet)
|
||||
router.register("show-days", ShowDaysViewSet)
|
||||
router.register("show-hosts", ShowHostViewSet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue