Initial commit that merge both the front end and the API in the same repository
This commit is contained in:
commit
76f98b74dd
285 changed files with 51318 additions and 0 deletions
9
api/funkwhale_api/radios/urls.py
Normal file
9
api/funkwhale_api/radios/urls.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue