Skip to content
Snippets Groups Projects
Commit 507babfc authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[search][utils] reduce has moved to functools in Python 3

parent 04c6ce87
No related branches found
No related tags found
1 merge request!2551.4.x
......@@ -28,6 +28,11 @@
import re
import datetime
try:
from functools import reduce
except ImportError:
pass
from django.db.models import Q
from django.db.models.query import QuerySet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment