new
All checks were successful
Deploy to Server / deploy (push) Successful in 36s

This commit is contained in:
jeremygan2021
2026-02-25 00:33:34 +08:00
parent 21f01fb0c4
commit 96c12b9e58
8 changed files with 71 additions and 20 deletions

View File

@@ -91,7 +91,7 @@ class ReplySerializer(serializers.ModelSerializer):
class Meta:
model = Reply
fields = ['id', 'topic', 'content', 'author', 'author_info', 'reply_to', 'media', 'created_at', 'media_ids']
fields = ['id', 'topic', 'content', 'author', 'author_info', 'reply_to', 'media', 'created_at', 'media_ids', 'is_pinned']
read_only_fields = ['author', 'created_at']
def create(self, validated_data):