You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I select method as patch and my serialiser has read only fields then it display those read only fields as well in browsable api. When I have method=PUT then it hide those fields
Moreover, if a user try to patch those read only fields they get status code 200 response.
The data is never changed tho
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I select method as patch and my serialiser has read only fields then it display those read only fields as well in browsable api. When I have method=PUT then it hide those fields
Moreover, if a user try to patch those read only fields they get status code 200 response.
The data is never changed tho
Beta Was this translation helpful? Give feedback.
All reactions