ungleich-otp/ungleichotp/otpauth/views.py

12 lines
281 B
Python
Raw Normal View History

2018-10-26 19:08:01 +00:00
from django.shortcuts import render
2018-11-17 10:21:35 +00:00
from rest_framework import viewsets
2018-11-17 10:39:42 +00:00
from otpauth.serializer import VerifySerializer
2018-10-26 19:08:01 +00:00
# Create your views here.
2018-11-17 10:21:35 +00:00
class VerifyViewSet(viewsets.ModelViewSet):
serializer_class = VerifySerializer
2018-11-17 10:39:42 +00:00
def get_queryset(self):
return None