Code Fixes for tastypie 0.9.15 in Django 1.5