diff --git a/django/db/backends/oracle/schema.py b/django/db/backends/oracle/schema.py
index 7843b96..60a83db 100644
a
|
b
|
class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
|
23 | 23 | return "'%s'" % value |
24 | 24 | elif isinstance(value, six.string_types): |
25 | 25 | return "'%s'" % six.text_type(value).replace("\'", "\'\'") |
26 | | elif isinstance(value, buffer): |
| 26 | elif isinstance(value, six.memoryview): |
27 | 27 | return "'%s'" % binascii.hexlify(value) |
28 | 28 | elif isinstance(value, bool): |
29 | 29 | return "1" if value else "0" |