Files
django-core-base/apps/backend_admin/actions.py
juanjo 3da81a9495
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
fix admin status
2026-04-12 22:56:35 +02:00

13 lines
487 B
Python

class Admin:
def get_status_action(self):
"""
Lógica para comprobar la salud del sistema.
Devuelve el estado básico del entorno.
"""
# En el futuro, podrías usar get_parameterized aquí si quisieras
# consultar estados en la base de datos.
return {
"status": "ok",
"message": "V-Encore API System is active",
"environment": "dev" # Esto podría venir de una variable de entorno
}