comments status field
This commit is contained in:
parent
b989762568
commit
5a9b45cd76
|
|
@ -42,7 +42,7 @@ class CommentBaseSerializer(serializers.ModelSerializer):
|
||||||
'user_email'
|
'user_email'
|
||||||
]
|
]
|
||||||
extra_kwargs = {
|
extra_kwargs = {
|
||||||
'status': {'read_only': True},
|
# 'status': {'read_only': True},
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_content_type(self, instance: Comment):
|
def get_content_type(self, instance: Comment):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user