nanterre: corrige l'exclusion des fiches actives récemments (#28080)

This commit is contained in:
Benjamin Dauvergne 2018-11-19 21:30:25 +01:00
parent 934f47129d
commit e2e73eb514
1 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,9 @@ class Inactivity(object):
def exclude_newer_than_threshold(self, qs, threshold):
return qs.exclude(
created__created__gte=threshold,
modified__created__gte=threshold,
log__timestamp__gte=threshold)
Q(created__created__gte=threshold) |
Q(modified__created__gte=threshold) |
Q(log__timestamp__gte=threshold))
@property
def query_no_federation(self):