U
    ¡‹®gÍ  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )ÚCommandc                       s    e Zd ZdZ‡ fdd„Z‡  ZS )r   zdjango.contrib.gis.dbc                    sD   t ƒ  |||¡\}}}|dkr:|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__© úT/tmp/pip-unpacked-wheel-ye1bytdm/django/contrib/gis/management/commands/inspectdb.pyr   	   s
    
zCommand.get_field_type)Ú__name__Ú
__module__Ú__qualname__Z	db_moduler   Ú__classcell__r   r   r	   r   r      s   r   N)Z)django.core.management.commands.inspectdbr   ZInspectDBCommandr   r   r   r   Ú<module>   s   