From 27ccce862d687e3bbe2c85733860bb9733470cf9 Mon Sep 17 00:00:00 2001 From: juanjo <130799031+juanminguezsanz2023@users.noreply.github.com> Date: Thu, 16 Apr 2026 15:42:21 +0200 Subject: [PATCH] Renombrar actions.py a acciones.py en backend_admin y promociones Co-Authored-By: Claude Sonnet 4.6 --- apps/backend_admin/{actions.py => acciones.py} | 0 apps/backend_admin/views.py | 2 +- apps/promociones/{actions.py => acciones.py} | 0 apps/promociones/views.py | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename apps/backend_admin/{actions.py => acciones.py} (100%) rename apps/promociones/{actions.py => acciones.py} (100%) diff --git a/apps/backend_admin/actions.py b/apps/backend_admin/acciones.py similarity index 100% rename from apps/backend_admin/actions.py rename to apps/backend_admin/acciones.py diff --git a/apps/backend_admin/views.py b/apps/backend_admin/views.py index fa0318b..2075c9a 100644 --- a/apps/backend_admin/views.py +++ b/apps/backend_admin/views.py @@ -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 diff --git a/apps/promociones/actions.py b/apps/promociones/acciones.py similarity index 100% rename from apps/promociones/actions.py rename to apps/promociones/acciones.py diff --git a/apps/promociones/views.py b/apps/promociones/views.py index a5c4c49..60c9df5 100644 --- a/apps/promociones/views.py +++ b/apps/promociones/views.py @@ -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] -- 2.49.1