funkwhale/api/funkwhale_api/favorites/urls.py

9 lines
181 B
Python

from . import views
from rest_framework import routers
router = routers.SimpleRouter()
router.register(r"tracks", views.TrackFavoriteViewSet, "tracks")
urlpatterns = router.urls