You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i try to use SerializerMethodField with WritableNestedModelSerializer but it's not working
classBinCreateUpdateSerializer(WritableNestedModelSerializer):
"""Serializer for creation and update bin model."""warehouse=serializers.SerializerMethodField()
defget_warehouse(self, obj):
print(obj)
returnobj
the method never called
The text was updated successfully, but these errors were encountered:
i try to use
SerializerMethodField
withWritableNestedModelSerializer
but it's not workingthe method never called
The text was updated successfully, but these errors were encountered: