fix: 添加Model的verbose_name属性

This commit is contained in:
Michael Bai
2021-10-26 17:17:10 +08:00
committed by 老广
parent a1e2d4ca57
commit 1eb59b11da
6 changed files with 136 additions and 93 deletions

View File

@@ -180,6 +180,7 @@ class Application(CommonModelMixin, OrgModelMixin, ApplicationTreeNodeMixin):
)
class Meta:
verbose_name = _('Application')
unique_together = [('org_id', 'name')]
ordering = ('name',)