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
@@ -13,3 +13,4 @@ sqlparse==0.5.5
stripe==15.3.0
typing_extensions==4.16.0
urllib3==2.7.0
python-dotenv==1.2.2