TA_GPTI / config.py
JairoDanielMT's picture
Upload 12 files
2c991e5 verified
raw
history blame contribute delete
522 Bytes
import os
class Config:
# Configuraci贸n b谩sica
SECRET_KEY = os.environ.get("SECRET_KEY") or "dev-key-very-secret"
# Configuraci贸n de SQLAlchemy
SQLALCHEMY_DATABASE_URI = os.environ.get("DATABASE_URL") or "sqlite:///pmbok.db"
SQLALCHEMY_TRACK_MODIFICATIONS = False
# Configuraci贸n de carga de archivos
UPLOAD_FOLDER = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "static/uploads"
)
MAX_CONTENT_LENGTH = 16 * 1024 * 1024 # 16MB max file size