How do you handle a field with a name of 'from' #8058
Answered
by
tomchristie
boatcoder
asked this question in
Potential Issue
-
Obvlously I can't use
Because that is invalid Python I've written the whole question up here: https://stackoverflow.com/questions/68120966/how-can-you-deal-with-a-reserved-word-from-in-a-serializer-in-drf but don't have a better answer than my smelly method of solving this problem. |
Beta Was this translation helpful? Give feedback.
Answered by
tomchristie
Jun 28, 2021
Replies: 1 comment 1 reply
-
There isn't any graceful way around this, nope. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
boatcoder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There isn't any graceful way around this, nope.