mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 21:49:19 +02:00
9 lines
294 B
Python
9 lines
294 B
Python
from django.conf.urls import include, url
|
|
from . import views
|
|
|
|
from rest_framework import routers
|
|
router = routers.SimpleRouter()
|
|
router.register(r'sessions', views.RadioSessionViewSet, 'sessions')
|
|
router.register(r'tracks', views.RadioSessionTrackViewSet, 'tracks')
|
|
|
|
urlpatterns = router.urls
|