IsAuthenticated добавлен

This commit is contained in:
iriska-gri committed 2024-04-17 09:08:47 +03:00
1 parent 1a4dfda02e
commit b002acbe0b
1 file changed
+1 -1
+1 -1
View File
@@ -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