Generic views, viewsets and mixins that extend the Django REST Framework ones adding separated serializers for read and write operations
180
stars
28
forks
source link
Update `get_serializer_class` to consider the request method #77
Closed
pamella closed 5 months ago
Description: Describe in a couple of sentence what this PR adds
get_serializer_class
to consider the request method. See the updated docstring.self.read_serializer_class
.self.write_serializer_class
.self.serializer_class
.Dependencies: dependencies on other outstanding PRs, issues, etc.
Resolves #1 Resolves #17 Resolves #44
Merge deadline: List merge deadline (if any)
N/A
Installation instructions: List any non-trivial installation instructions.
Testing instructions:
serializer_class
,read_serializer_class
, andwrite_serializer_class
.Screencast from 23-05-2024 16:55:32.webm
Reviewers:
Merge checklist:
Post merge:
Author concerns: List any concerns about this PR - inelegant solutions, hacks, quick-and-dirty implementations, concerns about migrations, etc.