mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Updated Writable Nested Serializers (markdown)
parent
9fb5d6b3b7
commit
a266488eba
|
@ -2,5 +2,4 @@ Ongoing discussion questions/answers for the writable nested serializers:
|
||||||
|
|
||||||
* Should we let nested models be disassociated/orphaned (FK set to null) vs. outright deletion? Outright deletion seems like the more common use case. If I have an album with tracks, I probably want to delete the actual track model not just orphan it.
|
* Should we let nested models be disassociated/orphaned (FK set to null) vs. outright deletion? Outright deletion seems like the more common use case. If I have an album with tracks, I probably want to delete the actual track model not just orphan it.
|
||||||
|
|
||||||
* Is the `_delete` keyword for deletion the best method? Setting a nested model field to `None` might be nicer in the one-to-one case, but doesn't translate well to one-to-many.
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user