dimagi/casexml — pull request #94 by mwhite (2013-08-05 22:01:27+00:00)
Title: fix case wrapping

loading settings.CASE_WRAPPER at module import caused a circular import (when someone changed something else)

Lesson: always use failhard=True with to_function to avoid masking
errors when things get changed.