mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:29:17 +02:00
11 lines
324 B
Python
11 lines
324 B
Python
from funkwhale_api.common import routers
|
|
|
|
from . import views
|
|
|
|
router = routers.OptionalSlashRouter()
|
|
router.register(r"sessions", views.RadioSessionViewSet, "sessions")
|
|
router.register(r"radios", views.RadioViewSet, "radios")
|
|
router.register(r"tracks", views.RadioSessionTrackViewSet, "tracks")
|
|
|
|
|
|
urlpatterns = router.urls
|