forked from 0x2620/pandora
keys must be strings
This commit is contained in:
parent
4e324cef84
commit
5df4aea677
|
@ -60,6 +60,7 @@ def parseCondition(condition, user):
|
|||
else: # default
|
||||
key = '%s__icontains'%k
|
||||
|
||||
key = str(key)
|
||||
if exclude:
|
||||
q = ~Q(**{key: v})
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user