Ability to pass kwargs in perform_create in CreateModelMixin. #8105
Unanswered
yogeshmanghnani
asked this question in
Ideas & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was thinking of adding the ability to pass kwargs to serializer.save() through the CreateModelMixin,
I have put down a demonstration of what can be done.
With this we will be able to pass kwargs to serializers in any View using CreateModelMixin
We can use it like this than
What do you guys think? Am I thinking in the correct direction or am I completely wrong?
Beta Was this translation helpful? Give feedback.
All reactions