U 主机分组名称长度增加到50个字符

pull/509/head
vapao 2022-06-18 22:41:59 +08:00
parent b342822fa6
commit bca9557cb9
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class HostExtend(models.Model, ModelMixin):
class Group(models.Model, ModelMixin):
name = models.CharField(max_length=20)
name = models.CharField(max_length=50)
parent_id = models.IntegerField(default=0)
sort_id = models.IntegerField(default=0)
hosts = models.ManyToManyField(Host, related_name='groups')