dump update
This commit is contained in:
parent
7680ba4bb0
commit
c3b7d465b1
784 changed files with 35 additions and 18 deletions
0
judge/models/__init__.py
Normal file → Executable file
0
judge/models/__init__.py
Normal file → Executable file
0
judge/models/bookmark.py
Normal file → Executable file
0
judge/models/bookmark.py
Normal file → Executable file
0
judge/models/choices.py
Normal file → Executable file
0
judge/models/choices.py
Normal file → Executable file
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):
|
||||
|
|
0
judge/models/contest.py
Normal file → Executable file
0
judge/models/contest.py
Normal file → Executable file
0
judge/models/course.py
Normal file → Executable file
0
judge/models/course.py
Normal file → Executable file
0
judge/models/interface.py
Normal file → Executable file
0
judge/models/interface.py
Normal file → Executable file
0
judge/models/message.py
Normal file → Executable file
0
judge/models/message.py
Normal file → Executable file
0
judge/models/pagevote.py
Normal file → Executable file
0
judge/models/pagevote.py
Normal file → Executable file
0
judge/models/problem.py
Normal file → Executable file
0
judge/models/problem.py
Normal file → Executable file
0
judge/models/problem_data.py
Normal file → Executable file
0
judge/models/problem_data.py
Normal file → Executable file
0
judge/models/profile.py
Normal file → Executable file
0
judge/models/profile.py
Normal file → Executable file
0
judge/models/runtime.py
Normal file → Executable file
0
judge/models/runtime.py
Normal file → Executable file
0
judge/models/submission.py
Normal file → Executable file
0
judge/models/submission.py
Normal file → Executable file
0
judge/models/ticket.py
Normal file → Executable file
0
judge/models/ticket.py
Normal file → Executable file
0
judge/models/volunteer.py
Normal file → Executable file
0
judge/models/volunteer.py
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue