Made it possible to filter on photo and bio fields in the API.

- Legacy-Id: 11320
This commit is contained in:
Henrik Levkowetz 2016-06-11 19:48:36 +00:00
parent f384a134c4
commit e3cbabaf9b

View file

@ -25,6 +25,8 @@ class PersonResource(ModelResource):
"ascii_short": ALL,
"address": ALL,
"affiliation": ALL,
"photo": ALL,
"biography": ALL,
"user": ALL_WITH_RELATIONS,
}
api.person.register(PersonResource())