mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 16:45:41 +01:00
Fix: Image should be both readable and writable
This commit is contained in:
@@ -43,7 +43,6 @@ class ImageSerializer(serializers.ModelSerializer):
|
||||
extra_kwargs = {
|
||||
"width": {"read_only": True},
|
||||
"height": {"read_only": True},
|
||||
"image": {"read_only": True},
|
||||
}
|
||||
|
||||
standard = ThumbnailSerializer(read_only=True)
|
||||
|
||||
Reference in New Issue
Block a user