mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 03:29:23 +02:00
See #223: api for listing/managing library files
This commit is contained in:
parent
2569f136b7
commit
c7782693bc
10 changed files with 213 additions and 0 deletions
11
api/funkwhale_api/manage/urls.py
Normal file
11
api/funkwhale_api/manage/urls.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from django.conf.urls import include, url
|
||||
from . import views
|
||||
|
||||
from rest_framework import routers
|
||||
library_router = routers.SimpleRouter()
|
||||
library_router.register(r'track-files', views.ManageTrackFileViewSet, 'track-files')
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^library/',
|
||||
include((library_router.urls, 'instance'), namespace='library')),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue