Created Writable Nested Serializers (markdown)

maspwr 2013-01-10 10:06:11 -08:00
parent bb15e026b9
commit bf45a297c2

@ -0,0 +1,6 @@
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.
* 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.