Fix _transform_update to accept unicode fields
This commit is contained in:
parent
7a1b110f62
commit
1fff7e9aca
1 changed files with 1 additions and 1 deletions
|
|
@ -1373,7 +1373,7 @@ class QuerySet(object):
|
||||||
cleaned_fields = []
|
cleaned_fields = []
|
||||||
for field in fields:
|
for field in fields:
|
||||||
append_field = True
|
append_field = True
|
||||||
if isinstance(field, str):
|
if isinstance(field, basestring):
|
||||||
# Convert the S operator to $
|
# Convert the S operator to $
|
||||||
if field == 'S':
|
if field == 'S':
|
||||||
field = '$'
|
field = '$'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue