Another update
This commit is contained in:
8
webservice/apps/synthea/api/serializers.py
Normal file
8
webservice/apps/synthea/api/serializers.py
Normal file
@ -0,0 +1,8 @@
|
||||
from rest_framework import serializers
|
||||
|
||||
from apps.synthea.models import Synthea
|
||||
|
||||
class SyntheaSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = Synthea
|
||||
fields = ['state', 'population', 'gender', 'age', 'module']
|
Reference in New Issue
Block a user