From aa8ee6a5731b37b73635e7605521fb1a54a5c10d Mon Sep 17 00:00:00 2001 From: Shai Berger Date: Tue, 13 Jan 2015 00:57:52 +0200 Subject: [PATCH] Fixed test failures in Oracle introspection Refs #17785 --- django/db/backends/oracle/introspection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/oracle/introspection.py b/django/db/backends/oracle/introspection.py index 3dab5e36f2..9618c47c64 100644 --- a/django/db/backends/oracle/introspection.py +++ b/django/db/backends/oracle/introspection.py @@ -98,7 +98,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): relations = {} for row in cursor.fetchall(): - relations[row[0]] = (row[2], row[1].lower()) + relations[row[0].lower()] = (row[2].lower(), row[1].lower()) return relations def get_key_columns(self, cursor, table_name):