Ticket #13565: 13565.diff
File 13565.diff, 730 bytes (added by , 14 years ago) |
---|
-
django/db/backends/oracle/introspection.py
39 39 40 40 def get_table_list(self, cursor): 41 41 "Returns a list of table names in the current database." 42 cursor.execute("SELECT TABLE_NAME FROM USER_TABLES") 42 cursor.execute(""" 43 SELECT TABLE_NAME FROM USER_TABLES 44 UNION 45 SELECT VIEW_NAME FROM USER_VIEWS 46 UNION 47 SELECT SYNONYM_NAME FROM USER_SYNONYMS""") 43 48 return [row[0].lower() for row in cursor.fetchall()] 44 49 45 50 def get_table_description(self, cursor, table_name):