funkwhale/api/funkwhale_api/history/urls.py

9 wiersze
226 B
Python

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