Switched out custom api for tastypie