mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 修复资产授权列表搜索 无效的 出现500错误
parent
ad3524f942
commit
01ead7c8e1
|
@ -29,7 +29,7 @@ class BasePermissionQuerySet(models.QuerySet):
|
|||
return self.filter(is_active=False)
|
||||
|
||||
def invalid(self):
|
||||
now = timezone.now
|
||||
now = timezone.now()
|
||||
q = (
|
||||
Q(is_active=False) |
|
||||
Q(date_start__gt=now) |
|
||||
|
|
Loading…
Reference in New Issue