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

15 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-21 11:06:33 +02:00
from djeveric.rest_api import ConfirmationView
2021-05-18 12:07:03 +02:00
from userausfall.rest_api.views import UserViewSet
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 = [
path("confirm", ConfirmationView.as_view())
]
urlpatterns += router.urls