initail elasticsearch
This commit is contained in:
@@ -4,6 +4,7 @@ from rest_framework_simplejwt.views import TokenObtainPairView
|
||||
from rest_framework.viewsets import ModelViewSet
|
||||
from rest_framework.decorators import action
|
||||
from apps.authentication.models import User
|
||||
from rest_framework.views import APIView
|
||||
from django.db import transaction
|
||||
|
||||
|
||||
@@ -28,3 +29,7 @@ class Authentication(ModelViewSet):
|
||||
@transaction.atomic
|
||||
def login(self, request):
|
||||
pass
|
||||
|
||||
|
||||
class UserViewSet(ModelViewSet):
|
||||
pass
|
||||
Reference in New Issue
Block a user