10 lines
299 B
Python
10 lines
299 B
Python
|
from rest_framework import viewsets
|
||
|
|
||
|
from userausfall.models import AccountRequest
|
||
|
from userausfall.rest_api.serializers import AccountRequestSerializer
|
||
|
|
||
|
|
||
|
class AccountRequestViewSet(viewsets.ModelViewSet):
|
||
|
serializer_class = AccountRequestSerializer
|
||
|
queryset = AccountRequest.objects.all()
|