This repository has been archived on 2022-05-05. You can view files and clone it, but cannot push or open issues or pull requests.
userausfall/userausfall/rest_api/urls.py

14 lines
367 B
Python
Raw Normal View History

2021-05-21 11:06:33 +02:00
from django.urls import path
from rest_framework import routers
2021-05-25 10:40:38 +02:00
from userausfall.rest_api.views import UserViewSet, ConfidantConfirmationView
router = routers.DefaultRouter(trailing_slash=True)
2021-05-18 12:07:03 +02:00
router.register(r'users', UserViewSet, basename="user")
2021-05-21 11:06:33 +02:00
urlpatterns = [
2021-05-25 10:40:38 +02:00
path("confirm/confidant/", ConfidantConfirmationView.as_view())
2021-05-21 11:06:33 +02:00
]
urlpatterns += router.urls