Replaced hardcoded host checks with a dynamic check using `ALLOWED_HOSTS` from environment variables. Adjusted exception logging to include tracebacks only when the `DEBUG` environment variable is enabled. |
||
|---|---|---|
| .. | ||
| settings | ||
| utils | ||
| __init__.py | ||
| api_urls.py | ||
| asgi.py | ||
| b2b_urls.py | ||
| celery.py | ||
| hosts.py | ||
| middleware.py | ||
| pagination.py | ||
| urls.py | ||
| wsgi.py | ||