Commit 01ead7c8 authored by jym503558564's avatar jym503558564

[Bugfix] 修复资产授权列表搜索 无效的 出现500错误

parent ad3524f9
......@@ -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) |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment