diff --git a/django/contrib/gis/utils/ogrinspect.py b/django/contrib/gis/utils/ogrinspect.py
index c0c3c40..0784fcf 100644
a
|
b
|
def _ogrinspect(data_source, model_name, geom_name='geom', layer_key=0, srid=Non
|
192 | 192 | elif field_type is OFTDate: |
193 | 193 | yield ' %s = models.TimeField(%s)' % (mfield, kwargs_str[2:]) |
194 | 194 | else: |
195 | | raise TypeError('Unknown field type %s in %s' % (fld_type, mfield)) |
| 195 | raise TypeError('Unknown field type %s in %s' % (field_type, mfield)) |
196 | 196 | |
197 | 197 | # TODO: Autodetection of multigeometry types (see #7218). |
198 | 198 | gtype = layer.geom_type |