mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed BinaryField support on Oracle.
This commit is contained in:
		| @@ -672,6 +672,8 @@ class OracleParam(object): | ||||
|             param = "0" | ||||
|         if hasattr(param, 'bind_parameter'): | ||||
|             self.force_bytes = param.bind_parameter(cursor) | ||||
|         elif isinstance(param, six.memoryview): | ||||
|             self.force_bytes = param | ||||
|         else: | ||||
|             self.force_bytes = convert_unicode(param, cursor.charset, | ||||
|                                              strings_only) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user