tags:

views:

108

answers:

1

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
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