Modifying API view's default "prompt" content fields #8506
Unanswered
jzr-supove
asked this question in
Question & Answer
Replies: 0 comments
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.
-
Hello there, I wanted to exclude some optional fields from this part of the API view:
The wrong "solution" I found was including fields in
read_only_fields
attribute of the serializerBut, it also (obviously) ignores those fields if I include them when posting. Could not find any info about modifying this "content" field in the documentation
Beta Was this translation helpful? Give feedback.
All reactions