from django.urls import path
from rest_framework import routers
from userausfall.rest_api.views import UserViewSet, ConfidantConfirmationView
router = routers.DefaultRouter(trailing_slash=True)
router.register(r'users', UserViewSet, basename="user")
urlpatterns = [
path("confirm/confidant/", ConfidantConfirmationView.as_view())
]
urlpatterns += router.urls