mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
magic-removal: Fixed #1606 -- Fixed ValueError in inspectdb. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
985da9307b
commit
1345cd0c17
@ -700,7 +700,6 @@ def inspectdb(db_name):
|
|||||||
# This is a hook for DATA_TYPES_REVERSE to return a tuple of
|
# This is a hook for DATA_TYPES_REVERSE to return a tuple of
|
||||||
# (field_type, extra_params_dict).
|
# (field_type, extra_params_dict).
|
||||||
if type(field_type) is tuple:
|
if type(field_type) is tuple:
|
||||||
field_type, extra_params = field_type
|
|
||||||
field_type, new_params = field_type
|
field_type, new_params = field_type
|
||||||
extra_params.update(new_params)
|
extra_params.update(new_params)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user