# --- CORE DJANGO ---
DEBUG=True
SECRET_KEY=django-insecure-change-me-in-production-!@#123
ALLOWED_HOSTS=localhost,127.0.0.1,[::1]

# --- DATABASE (PostgreSQL) ---
# Note : Dans WSL, localhost pointe bien vers le Postgres local
DATABASE_URL=postgres://admin_cms:secure_password_123@localhost:5432/backend_headless_db

# --- CORS (Frontend Next.js) ---
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000

# --- IA & CHATBOT (OpenRouter) ---
OPENROUTER_API_KEY=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
OPENROUTER_MODEL=cognitivecomputations/dolphin-mistral-24b-venice-edition:free
# Ou un modèle plus performant : openai/gpt-3.5-turbo, meta-llama/llama-3-8b-instruct:free