14 lines
466 B
Python
14 lines
466 B
Python
from django.contrib import admin
|
|
from django.urls import path
|
|
from django.conf.urls import url, include
|
|
from rest_framework import routers
|
|
from otpauth.views import OTPVerifyViewSet
|
|
|
|
router = routers.DefaultRouter()
|
|
router.register(r'ungleichotp', OTPVerifyViewSet, basename='ungleichotp')
|
|
|
|
urlpatterns = [
|
|
path('admin/', admin.site.urls),
|
|
url(r'^', include(router.urls)),
|
|
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
|
|
]
|