î
ªÍ Xø  ã               @   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       	         su   t  t |  ƒ j | | | ƒ \ } } } | d k rh | d } | j j | | ƒ \ } } | j | ƒ n  | | | f S)NZGeometryFieldr   )Úsuperr   Úget_field_typeZintrospectionZget_geometry_typeÚupdate)	ÚselfÚ
connectionZ
table_nameÚrowZ
field_typeZfield_paramsZfield_notesZgeo_colZ
geo_params)Ú	__class__© ú^/home/ubuntu/projects/ifolica/build/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   