mirror of https://github.com/jumpserver/jumpserver
fix(applications): 修复应用列表会返回所有组织下数据的问题
parent
26d00329e7
commit
388314ca5a
|
@ -127,7 +127,6 @@ class Application(CommonModelMixin, OrgModelMixin):
|
||||||
comment = models.TextField(
|
comment = models.TextField(
|
||||||
max_length=128, default='', blank=True, verbose_name=_('Comment')
|
max_length=128, default='', blank=True, verbose_name=_('Comment')
|
||||||
)
|
)
|
||||||
objects = QuerySet.as_manager()
|
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = [('org_id', 'name')]
|
unique_together = [('org_id', 'name')]
|
||||||
|
|
Loading…
Reference in New Issue