1

Bit of a lazyweb question here: anybody know how django-piston handles writes (create/update) to ManyToMany fields?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Parand
  • 102,950
  • 48
  • 151
  • 186

1 Answers1

1

It doesn't handle that. You need to explicitly override the "update" method for that.

  • 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 Nov 20 '09 at 00:40