Merge pull request 'Merge dev into master' (#29) from dev into master
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
This commit was merged in pull request #29.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
from django.http import JsonResponse
|
from django.http import JsonResponse
|
||||||
from .actions import Admin
|
from .acciones import Admin
|
||||||
import logging
|
import logging
|
||||||
import json
|
import json
|
||||||
from django.views.decorators.csrf import csrf_exempt
|
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 rest_framework_simplejwt.authentication import JWTAuthentication
|
||||||
from django.http import JsonResponse
|
from django.http import JsonResponse
|
||||||
from apps.backend_admin.models import Log
|
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
|
from django.utils import timezone # Esta es la forma correcta
|
||||||
class PromocionObtener(APIView):
|
class PromocionObtener(APIView):
|
||||||
authentication_classes = [JWTAuthentication]
|
authentication_classes = [JWTAuthentication]
|
||||||
|
|||||||
Reference in New Issue
Block a user