mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user