On revient à 10 par page, sinon c'est trop lent
This commit is contained in:
parent
2d25ccbb6a
commit
ed48c1fef3
@ -1162,7 +1162,7 @@ def recurrent_imports(request, status=None):
|
|||||||
events_selected = events.filter(last_run_status=status)
|
events_selected = events.filter(last_run_status=status)
|
||||||
events_selected = events_selected.order_by("-pk")
|
events_selected = events_selected.order_by("-pk")
|
||||||
|
|
||||||
paginator = Paginator(events_selected, 50)
|
paginator = Paginator(events_selected, 10)
|
||||||
page = request.GET.get("page")
|
page = request.GET.get("page")
|
||||||
|
|
||||||
nb_failed = (events
|
nb_failed = (events
|
||||||
|
Loading…
Reference in New Issue
Block a user