Compare commits

..

3 Commits

Author SHA1 Message Date
bc82249a29 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
2026-04-16 13:51:32 +00:00
56e7d77d63 Merge pull request 'Merge pre-dev into dev' (#28) from pre-dev into dev
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
2026-04-16 13:51:17 +00:00
juanjo
27ccce862d Renombrar actions.py a acciones.py en backend_admin y promociones
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
DEPLOY_MULTI_BRACH/pipeline/pr-dev This commit looks good
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 15:42:21 +02:00
4 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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]