funkwhale/api/funkwhale_api/favorites/urls.py

9 wiersze
181 B
Python

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