funkwhale/api/funkwhale_api/users/api_urls.py

9 wiersze
170 B
Python

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