-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve checks for nested creates and updates. #2196
Improve checks for nested creates and updates. #2196
Conversation
LGTM, same fix I was planning on making. 👍 |
…nested-validation Improve checks for nested creates and updates.
@tomchristie @kevin-brown thanks for the 3.0.1 release. I just updated and my tests are failing with this new addition (
printed LikeSerializer
I'm just posting the object_id and content_type of the object I want to like. Was working fine before I updated. Thanks! |
@baylee the support questions are better asked on the mailing list or stack overflow. |
Okay, here it is on SO: http://stackoverflow.com/questions/27452044/drf-3-0-1-create-method-does-not-support-writable-nestedfields Any explanation or corrections would be appreciated. |
This does actually highlight a possible improvement we could make to that check. As both 'read_only' and 'default' are being using this isn't actually a nested write, although it does fail our test. |
Closes #2194.