
vÅÏ^Í  ã               @   s*   d  d l  m Z Gd d „  d e ƒ Z d S)é    )ÚCommandc                   s(   e  Z d  Z d Z ‡  f d d †  Z ‡  S)r   zdjango.contrib.gis.dbc                sb   t  ƒ  j | | | ƒ \ } } } | d k rU | j j | | ƒ \ } } | j | ƒ | | | f S)NZGeometryField)ÚsuperÚget_field_typeZintrospectionZget_geometry_typeÚupdate)ÚselfÚ
connectionZ
table_nameÚrowZ
field_typeZfield_paramsZfield_notesZ
geo_params)Ú	__class__© úR/tmp/pip-build-8lau8j11/django/django/contrib/gis/management/commands/inspectdb.pyr   	   s
    !zCommand.get_field_type)Ú__name__Ú
__module__Ú__qualname__Z	db_moduler   r
   r
   )r	   r   r      s   r   N)Z)django.core.management.commands.inspectdbr   ZInspectDBCommandr
   r
   r
   r   Ú<module>   s   