dimagi/hq-pact — pull request #37 by mwhite (2013-07-30 19:17:59+00:00)
Title: fix 500s on case API for PactPatientCases

setattr() on a Document actually affects the document's data dict, and
then when you try to convert it to json it fails here due to the
functions being functools.partial objects instead of methods.

Simple is better than complex.