mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
@@ -12,7 +12,8 @@ class SimplePersonSerializer(serializers.ModelSerializer):
|
|||||||
model = models.Person
|
model = models.Person
|
||||||
fields = [
|
fields = [
|
||||||
'id',
|
'id',
|
||||||
'name',
|
# Name is excluded from exports
|
||||||
|
# See https://github.com/Southampton-RSG/breccia-mapper/issues/35
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@@ -21,7 +22,8 @@ class PersonSerializer(base.FlattenedModelSerializer):
|
|||||||
model = models.Person
|
model = models.Person
|
||||||
fields = [
|
fields = [
|
||||||
'id',
|
'id',
|
||||||
'name',
|
# Name is excluded from exports
|
||||||
|
# See https://github.com/Southampton-RSG/breccia-mapper/issues/35
|
||||||
'gender',
|
'gender',
|
||||||
'age_group',
|
'age_group',
|
||||||
'nationality',
|
'nationality',
|
||||||
|
|||||||
Reference in New Issue
Block a user