Fix tastypie resource name issue.