Fix _transform_update to accept unicode fields
This commit is contained in:
		| @@ -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 = '$' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user