dump update
This commit is contained in:
parent
7680ba4bb0
commit
c3b7d465b1
784 changed files with 35 additions and 18 deletions
8
judge/models/comment.py
Normal file → Executable file
8
judge/models/comment.py
Normal file → Executable 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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue