Set serializer field as neither writeable or readable #8111
Unanswered
stephappiah
asked this question in
Ideas & Suggestions
Replies: 1 comment
-
I don't really see us adding much in the way of new functionality at this point. You'd need to implement this as a custom field in your own codebase. |
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
-
Serializer fields like 'notify_email' are for operational purposes and not for representing or writing to the model object. The field only runs a function if set to true or pass if false.
Beta Was this translation helpful? Give feedback.
All reactions