This commit is contained in:
Aevann1 2021-09-12 08:12:44 +02:00
parent a924bf62be
commit 98fe9248ad
5 changed files with 20 additions and 7 deletions

View file

@ -119,7 +119,12 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing):
@lazy
def fullname(self):
return f"t2_{self.id}"
@property
@lazy
def shortlink(self):
return f"https://{site}/post/{self.id}"
@property
@lazy
def permalink(self):