mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 22:09:16 +02:00
Admin UI to list and manage remote and local accounts
This commit is contained in:
parent
b1194e50de
commit
e186c6bb06
18 changed files with 797 additions and 283 deletions
|
@ -204,6 +204,9 @@ class User(AbstractUser):
|
|||
|
||||
return ["user.{}.{}".format(self.pk, g) for g in groups]
|
||||
|
||||
def full_username(self):
|
||||
return "{}@{}".format(self.username, settings.FEDERATION_HOSTNAME)
|
||||
|
||||
|
||||
def generate_code(length=10):
|
||||
return "".join(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue