mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
1 parent
b84076ec3b
commit
aafb6c0a21
1 file changed
+4
-2
@@ -12,7 +12,8 @@ class SimplePersonSerializer(serializers.ModelSerializer):
|
||||
model = models.Person
|
||||
fields = [
|
||||
'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
|
||||
fields = [
|
||||
'id',
|
||||
'name',
|
||||
# Name is excluded from exports
|
||||
# See https://github.com/Southampton-RSG/breccia-mapper/issues/35
|
||||
'gender',
|
||||
'age_group',
|
||||
'nationality',
|
||||
|
||||
Reference in new issue
Block a user