1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #11049: introspection on Oracle now identifies IntegerFields correctly.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Matt Boersma
2009-08-21 21:42:39 +00:00
parent e0ce9d76e1
commit e263cc0dc5
5 changed files with 23 additions and 7 deletions

View File

@@ -73,7 +73,7 @@ class Command(NoArgsCommand):
extra_params['db_column'] = column_name
else:
try:
field_type = connection.introspection.data_types_reverse[row[1]]
field_type = connection.introspection.get_field_type(row[1], row)
except KeyError:
field_type = 'TextField'
comment_notes.append('This field type is a guess.')