Mueve secretos a variables de entorno (.env)

- settings.py: SECRET_KEY, DEBUG, credenciales MySQL (x4 BBDD), SOAP,
  SumUp, Stripe y SMTP ahora se leen de variables de entorno via python-dotenv
- añade .env.example como plantilla y python-dotenv a requirements
- .gitignore: ignora .env
- verificado: manage.py check OK y settings cargan valores desde .env

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-12 16:01:57 +00:00
parent e1c04a92e3
commit f787b0d06e
4 changed files with 102 additions and 61 deletions
+1
View File
@@ -5,3 +5,4 @@ home/__pycache__
home/migrations/__pycache__
**/__pycache__/*.pyc
.venv/
.env