funkwhale/api/funkwhale_api/users/api_urls.py

8 wiersze
169 B
Python

from rest_framework import routers
from . import views
router = routers.SimpleRouter()
router.register(r'users', views.UserViewSet, 'users')
urlpatterns = router.urls