comments status field

This commit is contained in:
Kuroshini 2020-01-22 15:16:41 +03:00
parent b989762568
commit 5a9b45cd76

View File

@ -42,7 +42,7 @@ class CommentBaseSerializer(serializers.ModelSerializer):
'user_email'
]
extra_kwargs = {
'status': {'read_only': True},
# 'status': {'read_only': True},
}
def get_content_type(self, instance: Comment):