mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 21:39:16 +02:00
11 lines
338 B
Python
11 lines
338 B
Python
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')),
|
|
]
|