Fixes: 1) Replace failed daily stats with empty lists instead of crashing; 2) Fix inconsistent variable scoping and cleanup; Extra: 1) Refactor daily stats logic to handle exceptions gracefully; 2) Improve readability by grouping related metrics; 3) Add type annotations for new context variables. |
||
|---|---|---|
| .. | ||
| locale | ||
| settings | ||
| utils | ||
| __init__.py | ||
| asgi.py | ||
| celery.py | ||
| ftpstorage.py | ||
| i18n.py | ||
| middleware.py | ||
| pagination.py | ||
| signal_processors.py | ||
| urls.py | ||
| wsgi.py | ||