List what extra_kwargs
exist for a model serializer
#8877
Unanswered
mangelozzi
asked this question in
Ideas & Suggestions
Replies: 2 comments 1 reply
-
Which keywords are supported will depend on which serialiser field you're adding them too. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes. Perhaps the "additional keyword arguments on fields" text could hyperlink to the "Serializer Fields" documentation page. That might provide enough extra context for users? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[Serializers - Additional keyword arguments](https://www.django-rest-framework.org/api-guide/serializers/#additional-keyword-arguments) says:
What keyword arguments are support? From the example I only can find
write_only
.How is one supposed to figure out it out, e.g. Is
required
supported?,blank
? Should they not be listed somewhere?Beta Was this translation helpful? Give feedback.
All reactions