ofri/Open-Knesset — pull request #130 by MeirKriheli (2012-10-18 00:36:56+00:00)
Title: Better handling of api list_fields in BaseResource

Better handling of list_fields (correctly overriding TastyPie's life-cycle), Will only call dehydrate on fields only if needed (if appear in list_fields or extra_fields in GET)

Better performance and no needs for ugly hacks. Just implement dehydrate_FIELD,
and it'll be called only if needed.