Correct references to adjustTastypieError

Needed imports and proper references since reorganization.