Bit of a lazyweb question here: anybody know how django-piston handles writes (create/update) to ManyToMany fields?
A:
It doesn't handle that. You need to explicitly override the "update" method for that.
Jesper Noehr
2009-11-19 20:08:52
Thanks Jesper. Any suggestions for how to handle it, particularly with create? I'm looking for a nice pattern around separating the creation of the main object from the creation of the related objects?
Parand
2009-11-20 00:40:23