Changeset 6291
- Timestamp:
- 09/15/07 11:19:10 (1 year ago)
- Files:
-
- django/trunk/AUTHORS (modified) (1 diff)
- django/trunk/django/core/management/commands/syncdb.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/AUTHORS
r6289 r6291 307 307 wam-djangobug@wamber.net 308 308 wangchun <yaohua2000@gmail.com> 309 Filip Wasilewski <filip.wasilewski@gmail.com> 309 310 Dan Watson <http://theidioteque.net/> 310 311 Chris Wesseling <Chris.Wesseling@cwi.nl> django/trunk/django/core/management/commands/syncdb.py
r6290 r6291 39 39 cursor = connection.cursor() 40 40 41 # Get a list of all existing database tables,42 # so we know what needs to be added.43 tables = table_list()44 41 if connection.features.uses_case_insensitive_names: 45 42 table_name_converter = str.upper 46 43 else: 47 44 table_name_converter = lambda x: x 45 # Get a list of all existing database tables, so we know what needs to 46 # be added. 47 tables = [table_name_converter(name) for name in table_list()] 48 48 49 49 # Get a list of already installed *models* so that references work right.
