diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2019-01-09 13:12:45 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-09 08:12:45 -0500 |
| commit | e7f0e9b7045e7bcbe1e8ad85aec486c01f570e43 (patch) | |
| tree | 53be73f2d7840fde93cd50a3b1512d8342d14e22 | |
| parent | 99b3ab2781e8f8da2ce77a07627da862d3c450dd (diff) | |
Renamed import in MySQL introspection backend for consistency.
| -rw-r--r-- | django/db/backends/mysql/introspection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/mysql/introspection.py b/django/db/backends/mysql/introspection.py index 56280b6fe5..65eae56493 100644 --- a/django/db/backends/mysql/introspection.py +++ b/django/db/backends/mysql/introspection.py @@ -3,12 +3,12 @@ from collections import namedtuple from MySQLdb.constants import FIELD_TYPE from django.db.backends.base.introspection import ( - BaseDatabaseIntrospection, FieldInfo, TableInfo, + BaseDatabaseIntrospection, FieldInfo as BaseFieldInfo, TableInfo, ) from django.db.models.indexes import Index from django.utils.datastructures import OrderedSet -FieldInfo = namedtuple('FieldInfo', FieldInfo._fields + ('extra', 'is_unsigned')) +FieldInfo = namedtuple('FieldInfo', BaseFieldInfo._fields + ('extra', 'is_unsigned')) InfoLine = namedtuple('InfoLine', 'col_name data_type max_len num_prec num_scale extra column_default is_unsigned') |
