chore(api): route using urls

Allow to register function views in the same app instead of globaly.
This commit is contained in:
jo 2022-07-19 18:38:17 +02:00 committed by Jonas L
parent 33e5e8ada3
commit 0e3ede5a1a
6 changed files with 22 additions and 14 deletions

View file

@ -12,3 +12,5 @@ router.register("podcast-episodes", PodcastEpisodeViewSet)
router.register("podcasts", PodcastViewSet)
router.register("station-podcasts", StationPodcastViewSet)
router.register("imported-podcasts", ImportedPodcastViewSet)
urls = router.urls