funkwhale/api/funkwhale_api/favorites/urls.py

9 wiersze
222 B
Python

from django.conf.urls import include, url
from . import views
from rest_framework import routers
router = routers.SimpleRouter()
router.register(r'tracks', views.TrackFavoriteViewSet, 'tracks')
urlpatterns = router.urls