keys must be strings

This commit is contained in:
j 2011-02-23 11:34:24 +01:00
parent 4e324cef84
commit 5df4aea677
2 changed files with 4 additions and 0 deletions

View file

@ -60,6 +60,7 @@ def parseCondition(condition, user):
else: # default else: # default
key = '%s__icontains'%k key = '%s__icontains'%k
key = str(key)
if exclude: if exclude:
q = ~Q(**{key: v}) q = ~Q(**{key: v})
else: else:

View file

@ -1,4 +1,7 @@
cd `dirname $0` cd `dirname $0`
base=`pwd`
bzr pull http://code.0x2620.org/pandora/ bzr pull http://code.0x2620.org/pandora/
cd static/oxjs cd static/oxjs
bzr pull http://code.0x2620.org/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/