toastdriven/django-tastypie — pull request #659 by maraujop (2012-09-07 09:33:51+00:00)
Title: Refactored obj_update with identifiers

There is no need to call `full_hydrate` when we only want to convert identifiers into Python objects.

I'm actually in favor of adding a special method for preparing identifiers into Python objects, that this part would call, I don't think this should go in the hydration cicle.

This avoids side effects on `obj_update` and adds the possibility to flag `full_hydrate` as called, for avoiding performance hits.

This needs tests proposed in #658 and helps closing #390

Cheers,
Miguel