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
14
api/libretime_api/podcasts/router.py
Normal file
14
api/libretime_api/podcasts/router.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue