dev #35

Merged
jjminguez merged 43 commits from dev into master 2026-04-16 14:37:33 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 3fecd8c7fb - Show all commits

View File

@@ -16,7 +16,7 @@ def getData(params):
# 2. Preparamos el diccionario de parámetros (tu estándar get_parameterized)
# Limpiamos los datos antes de enviarlos a la base de datos
id_promocion = clean_sql_int(params.get('id'))
is_active = 1 if params.get('activo') else 0
is_active = True if params.get('activo') else False
parameter_dict = [id_promocion, is_active]

View File

@@ -14,9 +14,10 @@ DEBUG = os.getenv('DEBUG', 'True').lower() == 'true'
ALLOWED_HOSTS = [
'v-encore-lab.com',
'dev.v-encore-lab.com',
'185.187.169.109', # Añade la IP aquí
'localhost',
'127.0.0.1',
'django_app_dev', # Para que Nginx se hable con él por nombre
'django_app_dev',
'django_app_master'
]