keys must be strings
This commit is contained in:
parent
4e324cef84
commit
5df4aea677
2 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,7 @@ def parseCondition(condition, user):
|
|||
else: # default
|
||||
key = '%s__icontains'%k
|
||||
|
||||
key = str(key)
|
||||
if exclude:
|
||||
q = ~Q(**{key: v})
|
||||
else:
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
cd `dirname $0`
|
||||
base=`pwd`
|
||||
bzr pull http://code.0x2620.org/pandora/
|
||||
cd static/oxjs
|
||||
bzr pull http://code.0x2620.org/oxjs/
|
||||
cd $base
|
||||
test -e src/python-ox && cd src/python-ox && bzr pull http://code.0x2620.org/python-ox/
|
||||
|
|
Loading…
Reference in a new issue