dev #41
@@ -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]
|
||||
|
||||
|
||||
@@ -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'
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user