Commit 8caddf33 by Guba Sándor

dashboard: added smb_password and disk_quota module

parent 3c4d75f1
......@@ -95,6 +95,16 @@ class Profile(Model):
email_notifications = BooleanField(
verbose_name=_("Email notifications"), default=True,
help_text=_('Whether user wants to get digested email notifications.'))
smb_password = CharField(
verbose_name=_('Samba password'),
'Generated password for accessing store from '
disk_quota = IntegerField(
verbose_name=_('disk quota'),
help_text=_('Disk quota in mebibytes.'))
def notify(self, subject, template, context={}, valid_until=None):
return Notification.send(self.user, subject, template, context,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment