Fixes: 1) Remove unnecessary wildcard imports in settings files; 2) Add missing imports for `getenv`, `DEBUG`, and other constants; 3) Fix logger usage in middleware to align with `django.request`. Extra: 1) Refactor settings files for readability and consistency; 2) Remove outdated `noqa` comments; 3) Minor formatting adjustments. |
||
|---|---|---|
| .. | ||
| locale | ||
| settings | ||
| utils | ||
| __init__.py | ||
| api_urls.py | ||
| asgi.py | ||
| b2b_urls.py | ||
| celery.py | ||
| hosts.py | ||
| middleware.py | ||
| pagination.py | ||
| signal_processors.py | ||
| urls.py | ||
| wsgi.py | ||