Make it possible to use builtin avatars

Images are from openclipart.org
This commit is contained in:
2018-07-25 08:24:10 +02:00
parent c40e776036
commit c0c38ccb52
9 changed files with 274 additions and 2 deletions

View File

@@ -285,6 +285,9 @@ class Profile(db.Model): # pylint: disable=too-few-public-methods
#: If locked, a profile cannot be followed without the owners consent
locked = db.Column(db.Boolean(), default=False)
#: If set, the profile will display this builtin avatar
builtin_avatar = db.Column(db.String(length=40), nullable=True)
@property
def fqn(self):
"""The fully qualified name of the profile