fds
This commit is contained in:
parent
3f3131ebad
commit
8561fda19f
4 changed files with 11 additions and 6 deletions
|
@ -224,6 +224,11 @@ class Comment(Base):
|
|||
def shortlink(self):
|
||||
return f"/comment/{self.id}#context"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def shortlink_context(self):
|
||||
return f"/comment/{self.id}?context=9#context"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def author_name(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue