Fixed too broad exception clauses in the project
This commit is contained in:
committed by
Konstantin Gukov
parent
9e9703183f
commit
ddedc1ee92
@@ -1705,7 +1705,7 @@ class BaseQuerySet(object):
|
||||
key = key.replace('__', '.')
|
||||
try:
|
||||
key = self._document._translate_field_name(key)
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
key_list.append((key, direction))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user