diff --git a/apps/gallery/serializers.py b/apps/gallery/serializers.py index 4b3e4832..2667d7bc 100644 --- a/apps/gallery/serializers.py +++ b/apps/gallery/serializers.py @@ -69,12 +69,14 @@ class EstablishmentGallerySerializer(serializers.ModelSerializer): 'title', 'is_main', 'created_by', + 'created', 'image_size_in_KB', 'cropbox', 'cropped_image', ) extra_kwargs = { 'created': {'read_only': True}, + 'created_by': {'read_only': True}, } def validate(self, attrs):