mirror of https://github.com/jumpserver/jumpserver
[Model] 修改create_by字段
parent
070c3d73cc
commit
d74c2e8466
|
@ -15,7 +15,7 @@ class UserGroup(NoDeleteModelMixin):
|
|||
comment = models.TextField(blank=True, verbose_name=_('Comment'))
|
||||
date_created = models.DateTimeField(auto_now_add=True, null=True,
|
||||
verbose_name=_('Date created'))
|
||||
created_by = models.CharField(max_length=100)
|
||||
created_by = models.CharField(max_length=100, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
|
Loading…
Reference in New Issue