dev #41
@@ -1,5 +1,5 @@
|
||||
from django.http import JsonResponse
|
||||
from .actions import Admin
|
||||
from .acciones import Admin
|
||||
import logging
|
||||
import json
|
||||
from django.views.decorators.csrf import csrf_exempt
|
||||
|
||||
@@ -3,7 +3,7 @@ from rest_framework.permissions import IsAuthenticated
|
||||
from rest_framework_simplejwt.authentication import JWTAuthentication
|
||||
from django.http import JsonResponse
|
||||
from apps.backend_admin.models import Log
|
||||
from .actions import getData
|
||||
from .acciones import getData
|
||||
from django.utils import timezone # Esta es la forma correcta
|
||||
class PromocionObtener(APIView):
|
||||
authentication_classes = [JWTAuthentication]
|
||||
|
||||
Reference in New Issue
Block a user