mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-30 13:02:28 +00:00
fix: 网域列表添加默认 name 排序
This commit is contained in:
parent
a7fa2331bd
commit
156be0a64e
@ -26,6 +26,7 @@ class Domain(OrgModelMixin):
|
||||
class Meta:
|
||||
verbose_name = _("Domain")
|
||||
unique_together = [('org_id', 'name')]
|
||||
ordering = ('name',)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
Loading…
Reference in New Issue
Block a user