You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Influenza_fund_linkage_system/app_test/serializers.py

9 lines
204 B

from app_test.models import Fund
from rest_framework import serializers
class FundSerializer(serializers.ModelSerializer):
class Meta:
model = Fund
fields = ['fund_id', 'fund_name']