Fixes: 1) Correct `lookup_field` to `uuid` in various viewsets; 2) Replace `type=str` with `OpenApiTypes.STR` in path parameters of multiple DRF endpoints; 3) Add missing import `iscoroutinefunction` and `markcoroutinefunction`. Extra: 1) Refactor `__call__` method in `CamelCaseMiddleWare` to separate sync and async logic; 2) Enhance documentation schema responses with precise types in multiple DRF views. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| caches.py | ||
| celery.py | ||
| constance.py | ||
| csp.py | ||
| database.py | ||
| dbbackup.py | ||
| drf.py | ||
| elasticsearch.py | ||
| emailing.py | ||
| extensions.py | ||
| graphene.py | ||
| logconfig.py | ||
| summernote.py | ||
| unfold.py | ||