|
|
|
@ -242,7 +242,7 @@ class SystemUser(models.Model):
|
|
|
|
|
|
|
|
|
|
class AssetGroup(models.Model):
|
|
|
|
|
name = models.CharField(max_length=64, unique=True, verbose_name=_('Name'))
|
|
|
|
|
system_users = models.ManyToManyField(SystemUser, related_name='system_users', blank=True)
|
|
|
|
|
system_users = models.ManyToManyField(SystemUser, related_name='asset_groups', blank=True)
|
|
|
|
|
created_by = models.CharField(max_length=32, blank=True, verbose_name=_('Created by'))
|
|
|
|
|
date_created = models.DateTimeField(auto_now=True, null=True, verbose_name=_('Date added'))
|
|
|
|
|
comment = models.TextField(blank=True, verbose_name=_('Comment'))
|
|
|
|
|