diff options
| author | Ian Kelly <ian.g.kelly@gmail.com> | 2007-09-15 17:56:36 +0000 |
|---|---|---|
| committer | Ian Kelly <ian.g.kelly@gmail.com> | 2007-09-15 17:56:36 +0000 |
| commit | 4f87e34315eef2d6f799afa32d99e4ee8d6c6cc5 (patch) | |
| tree | 3462a183d00a60850c9d9c14c44c53b0cf22fe8c | |
| parent | bf3c1cf7bf0c44cb6f8efe0e86e9bb7ec28f54d6 (diff) | |
Fixed two more instances of bug #4827 in the management code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/management/commands/syncdb.py | 2 | ||||
| -rw-r--r-- | django/core/management/sql.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/core/management/commands/syncdb.py b/django/core/management/commands/syncdb.py index 8087c9a693..81938c777c 100644 --- a/django/core/management/commands/syncdb.py +++ b/django/core/management/commands/syncdb.py @@ -39,7 +39,7 @@ class Command(NoArgsCommand): cursor = connection.cursor() if connection.features.uses_case_insensitive_names: - table_name_converter = str.upper + table_name_converter = lambda x: x.upper() else: table_name_converter = lambda x: x # Get a list of all existing database tables, so we know what needs to diff --git a/django/core/management/sql.py b/django/core/management/sql.py index ed76bc4e35..d7a46f0cd6 100644 --- a/django/core/management/sql.py +++ b/django/core/management/sql.py @@ -130,7 +130,7 @@ def sql_delete(app, style): else: table_names = [] if connection.features.uses_case_insensitive_names: - table_name_converter = str.upper + table_name_converter = lambda x: x.upper() else: table_name_converter = lambda x: x |
