- change default storage path to /srv/libretime - remove music dirs table - use /tmp for testing storage - storage dir should always have a trailing slash
8 lines
273 B
Python
8 lines
273 B
Python
from rest_framework import routers
|
|
|
|
from .views import CloudFileViewSet, FileViewSet, TrackTypeViewSet
|
|
|
|
router = routers.DefaultRouter()
|
|
router.register("files", FileViewSet)
|
|
router.register("cloud-files", CloudFileViewSet)
|
|
router.register("track-types", TrackTypeViewSet)
|