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
This commit is contained in:
parent
bf3c1cf7bf
commit
4f87e34315
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue