Updated Writable Nested Serializers (markdown)

maspwr 2013-02-17 20:02:54 -08:00
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.