Initial commit from ZIP

This commit is contained in:
kusz committed 2024-11-27 13:18:16 +01:00
commit 378d4692a9
454 files changed
+40367

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
from django.urls import path
from rest_framework import routers
from outbo.apps.authentication.views import ObtainAuthToken
from outbo.apps.authentication.viewsets import UserViewSet
app_name = "authentication"
router = routers.SimpleRouter()
router.register(prefix="users", viewset=UserViewSet)
view_urls = [path("token/", ObtainAuthToken.as_view(), name="token")]
urlpatterns = view_urls + router.urls