projects
/
matthijs
/
upstream
/
django-ldapdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test "in" operation
[matthijs/upstream/django-ldapdb.git]
/
ldapdb
/
models
/
query.py
diff --git
a/ldapdb/models/query.py
b/ldapdb/models/query.py
index 463ecf6b2305e0bb74975652801c2c536a817be6..f430286b65be5d14531e46a86b540eaa3a851ab6 100644
(file)
--- a/
ldapdb/models/query.py
+++ b/
ldapdb/models/query.py
@@
-48,6
+48,8
@@
class Constraint(BaseConstraint):
params = ["%s*" % value]
elif lookup_type == 'exact':
params = [value]
+ elif lookup_type == 'in':
+ params = [v for v in value]
else:
raise TypeError("Field has invalid lookup: %s" % lookup_type)