mirror of https://github.com/jumpserver/jumpserver
[Update] 删除user group继承的抽象类
parent
58e36b5f63
commit
80d11bbaab
|
@ -4,12 +4,10 @@ import uuid
|
|||
from django.db import models, IntegrityError
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from common.mixins import NoDeleteModelMixin
|
||||
|
||||
__all__ = ['UserGroup']
|
||||
|
||||
|
||||
class UserGroup(NoDeleteModelMixin):
|
||||
class UserGroup(models.Model):
|
||||
id = models.UUIDField(default=uuid.uuid4, primary_key=True)
|
||||
name = models.CharField(max_length=128, unique=True, verbose_name=_('Name'))
|
||||
comment = models.TextField(blank=True, verbose_name=_('Comment'))
|
||||
|
|
Loading…
Reference in New Issue