Ticket #11033: oracle_cx_unicode.diff

File oracle_cx_unicode.diff, 606 bytes (added by Jirka Vejrazka, 16 years ago)
  • django/db/backends/oracle/introspection.py

     
    2121    except AttributeError:
    2222        pass
    2323
     24    try:
     25        data_types_reverse[cx_Oracle.UNICODE] = 'CharField'
     26    except AttributeError:
     27        pass
     28
    2429    def get_table_list(self, cursor):
    2530        "Returns a list of table names in the current database."
    2631        cursor.execute("SELECT TABLE_NAME FROM USER_TABLES")
Back to Top