Kumi
cfe54415c7
Introduced a `get_serializer_class` method in the `FileUploadView` class to avoid warnings about the missing `serializer_class` attribute. This change ensures better code clarity and suppresses unnecessary warning messages during runtime, without altering the dynamic serializer class resolution based on the `media_type` in the request data. This adjustment provides a cleaner, more maintainable codebase and enhances developer experience by clearly communicating the intentional dynamic behavior of serializer class selection. |
||
---|---|---|
.. | ||
management/commands | ||
tours | ||
users | ||
__init__.py | ||
asgi.py | ||
celery.py | ||
manage.py | ||
settings.py | ||
urls.py | ||
wsgi.py |