This commit is contained in:
parent
0b92db278b
commit
91cd5c57b3
15 changed files with 251 additions and 17 deletions
|
|
@ -91,6 +91,10 @@ class ToolshedUser(AbstractUser):
|
|||
def __str__(self):
|
||||
return f"{self.username}@{self.domain}"
|
||||
|
||||
@property
|
||||
def friends(self):
|
||||
return self.public_identity.friends
|
||||
|
||||
def sign(self, message):
|
||||
if type(message) != str:
|
||||
raise TypeError('Message must be a string')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue