IsAuthenticated добавлен
This commit is contained in:
1 parent
1a4dfda02e
commit
b002acbe0b
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