Change ALLOWED_HOSTS from a hardcoded list to be read from environment variable with comma-separated values support. Maintains '*' as default fallback for backward compatibility. This allows more restrictive host configuration in production environments while improving security posture. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| asgi.py | ||
| settings.py | ||
| urls.py | ||
| views.py | ||
| wsgi.py | ||