feat: plantilla base workspace SaaS
Some checks failed
Build Producción & Push a Harbor / test (push) Failing after 3s
Build Producción & Push a Harbor / build (push) Has been skipped
Aduanasoft/plantillas-proyectos/pipeline/head There was a failure building this commit

This commit is contained in:
2026-07-21 13:59:00 -05:00
commit bdd089954b
470 changed files with 70022 additions and 0 deletions

15
backend/core/paths.py Normal file
View File

@@ -0,0 +1,15 @@
"""
Rutas base y resolución de paths para layouts (importación CSV, temp, errors).
"""
from pathlib import Path
# Raíz del backend (directorio que contiene api/, core/, etc.)
BASE_DIR = Path(__file__).resolve().parent.parent
def layout_path(*parts: str) -> str:
"""Construye una ruta absoluta bajo backend/layouts/."""
p = BASE_DIR / "layouts"
for part in parts:
p = p / part
return str(p)