actions y ip allowed en settings

This commit is contained in:
minguezsanzjuanjose
2026-04-11 19:41:58 +02:00
parent ef42701a92
commit 199c0be297
2 changed files with 3 additions and 2 deletions

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]