feat(api): don't use trailing slashes (#1982)
This commit is contained in:
parent
368350b269
commit
f08af1f3fa
10 changed files with 85 additions and 85 deletions
|
@ -7,7 +7,7 @@ from .views import (
|
|||
StationPodcastViewSet,
|
||||
)
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
router = routers.DefaultRouter(trailing_slash=False)
|
||||
router.register("podcast-episodes", PodcastEpisodeViewSet)
|
||||
router.register("podcasts", PodcastViewSet)
|
||||
router.register("station-podcasts", StationPodcastViewSet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue