Added 'Hide from userlist' to user settings
This commit is contained in:
parent
105ddc0409
commit
5ab0d1088f
4 changed files with 26 additions and 4 deletions
|
@ -13,6 +13,7 @@ class User(AbstractUser):
|
|||
allow_order_with_negative_balance = models.BooleanField(default=False)
|
||||
profile_picture_filename = models.CharField(default="default.svg", max_length=25)
|
||||
allowed_to_supply = models.BooleanField(default=False)
|
||||
hide_from_userlist = models.BooleanField(default=False)
|
||||
|
||||
def delete(self, *args, **kwargs):
|
||||
self.balance = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue