def get_field_names(self, *args, **kwargs):
        names = super(ModuleSerializer, self).get_field_names(*args, **kwargs)

        if 'pk' not in names:
            names = ('pk',) + tuple(names)
        return names
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/serializers.py/ModuleSerializer.get_field_names/original