From e3cbabaf9bacec3248194a09e605be507dbd11e8 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sat, 11 Jun 2016 19:48:36 +0000 Subject: [PATCH] Made it possible to filter on photo and bio fields in the API. - Legacy-Id: 11320 --- ietf/person/resources.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ietf/person/resources.py b/ietf/person/resources.py index a86108bd0..f38e7ef88 100644 --- a/ietf/person/resources.py +++ b/ietf/person/resources.py @@ -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())