Fixing problem when importing from tastypie.compat