techlearner96

Results 1 issues of techlearner96

I have a serializer field which works differently for read and write. I used PresentablePrimaryKeyRelatedField for that. e.g: car_type = PresentablePrimaryKeyRelatedField( queryset=CarType.objects.all(), presentation_serializer=CarTypeSerializer, read_source=None ) This works well when accessing...