IsAuthenticated добавлен
This commit is contained in:
1 parent
6e5b901e47
commit
eda4e6bb1d
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
from rest_framework.generics import ListAPIView
|
||||
from .models import *
|
||||
from rest_framework.permissions import AllowAny
|
||||
from rest_framework.permissions import AllowAny, IsAuthenticated
|
||||
from rest_framework.response import Response
|
||||
from .serializers import *
|
||||
from datetime import date, datetime, timedelta
|
||||
|
||||
Reference in new issue
Block a user