Skip to content

Commit

Permalink
Fixed #4827 -- Fixed a problem when converting Unicode table names to…
Browse files Browse the repository at this point in the history
… upper-case in Oracle backend. Based on a patch from timchen119@gmail.com.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Aug 11, 2007
1 parent 1d4a005 commit 01906de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/management.py
Expand Up @@ -65,7 +65,7 @@ def _get_installed_models(table_list):
for model in models.get_models(app):
all_models.append(model)
if backend.uses_case_insensitive_names:
converter = str.upper
converter = lambda x: x.upper()
else:
converter = lambda x: x
return set([m for m in all_models if converter(m._meta.db_table) in map(converter, table_list)])
Expand Down

0 comments on commit 01906de

Please sign in to comment.