dump update

This commit is contained in:
Tuan-Dung Bui 2023-04-15 18:35:02 +07:00
parent 7680ba4bb0
commit c3b7d465b1
784 changed files with 35 additions and 18 deletions

8
judge/models/comment.py Normal file → Executable file
View file

@ -112,6 +112,14 @@ class Comment(MPTTModel):
if len(output) >= n:
return output
return output
@cached_property
def get_replies(self, ):
return self.replies
@cached_property
def get_revisions(self):
return self.versions
@cached_property
def page_title(self):