Change default icon for accounts

This commit is contained in:
Edgar P. Burkhart 2022-12-29 21:06:23 +01:00
parent 0e0b9fc927
commit b9e3ee059e
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 23 additions and 1 deletions

View file

@ -34,7 +34,9 @@ class CustomModel(UserModel):
class Account(CustomModel):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
name = models.CharField(max_length=64, default=_("Account"), verbose_name=_("Name"))
icon = models.CharField(max_length=64, default="folder", verbose_name=_("Icon"))
icon = models.CharField(
max_length=64, default="building-columns", verbose_name=_("Icon")
)
def __str__(self):
return self.name