Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 4f87e34315eef2d6f799afa32d99e4ee8d6c6cc5 1 parent bf3c1cf
@ikelly ikelly authored
View
2  django/core/management/commands/syncdb.py
@@ -39,7 +39,7 @@ def handle_noargs(self, **options):
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
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.