class Meta:
    model = Station


class FlatSerializer(serializers.ModelSerializer):
    station_name = serializers.CharField(source='station.name', read_only=True)


class Meta:
    pass
Foreign key value in Django REST Framework