  
      def quote_value(self, value):
          if isinstance(value, (datetime.date, datetime.time, datetime.datetime)):
              return "'%s'" % value
          elif isinstance(value, six.string_types):
              return "'%s'" % six.text_type(value).replace("\'", "\'\'")
          elif isinstance(value, six.buffer_types):
              return "'%s'" % force_text(binascii.hexlify(value))
          elif isinstance(value, bool):
              return "1" if value else "0"
          else:
              return str(value)
 
</s> remove         return six.text_type(value)
    elif isinstance(value, (decimal.Decimal, float) + six.integer_types):
 </s> add         return str(value)
    elif isinstance(value, (decimal.Decimal, float, int)): </s> remove         return mark_safe(six.text_type(value))
    elif isinstance(value, (decimal.Decimal, float) + six.integer_types):
 </s> add         return mark_safe(str(value))
    elif isinstance(value, (decimal.Decimal, float, int)): </s> remove     elif isinstance(value, six.integer_types + (decimal.Decimal, float)):
 </s> add     elif isinstance(value, (int, decimal.Decimal, float)): </s> remove     if isinstance(value, six.string_types):  # Handle strings first for performance reasons.
 </s> add     if isinstance(value, str):  # Handle strings first for performance reasons. </s> remove     if isinstance(value, six.string_types):  # Handle strings first for performance reasons.
 </s> add     if isinstance(value, str):  # Handle strings first for performance reasons.
        elif isinstance(value, str):
            return "'%s'" % value.replace("\'", "\'\'")
        elif isinstance(value, (bytes, bytearray, memoryview)):
  
      def quote_value(self, value):
          if isinstance(value, (datetime.date, datetime.time, datetime.datetime)):
              return "'%s'" % value
        elif isinstance(value, str):
            return "'%s'" % value.replace("\'", "\'\'")
        elif isinstance(value, (bytes, bytearray, memoryview)):
        elif isinstance(value, str):
            return "'%s'" % value.replace("\'", "\'\'")
        elif isinstance(value, (bytes, bytearray, memoryview)):
        elif isinstance(value, str):
            return "'%s'" % value.replace("\'", "\'\'")
        elif isinstance(value, (bytes, bytearray, memoryview)):
              return "'%s'" % force_text(binascii.hexlify(value))
          elif isinstance(value, bool):
              return "1" if value else "0"
          else:
              return str(value)
keep keep keep keep replace replace replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
django/db/backends/oracle/schema.py