**Security Improvements:** - Fix DEBUG setting to properly parse boolean from environment variable - Remove hardcoded SMTP password fallback, rely solely on env var - Update Celery to use REDIS_URL environment variable instead of hardcoded localhost **Static File Serving:** - Add WhiteNoise middleware for production-grade static file serving - Configure CompressedManifestStaticFilesStorage for optimized delivery **Configuration Updates:** - Enable CORS credentials support - Remove duplicate CORS_ALLOWED_ORIGINS configuration - Update API documentation title from "Blog API" to "Attune Heart Therapy API" - Clean up code formatting and remove unnecessary comments These changes make the application more secure by eliminating hardcoded credentials and more deployment-ready by properly handling environment variables and serving static files efficiently in production. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| asgi.py | ||
| settings.py | ||
| urls.py | ||
| views.py | ||
| wsgi.py | ||