î
ªÍ XY  ã               @   s   d  d „  Z  d d „  Z d S)c             C   s…   i |  j  j d 6|  j j d 6|  j j d 6|  j j d 6|  j j d 6|  j j d 6|  j j	 d 6t
 |  j ƒ r} |  j d j n d  d	 6S)
NÚcityÚcountry_codeÚcountry_nameZdma_codeÚlatitudeÚ	longitudeZpostal_codeé    Zregion)r   ÚnameÚcountryÚiso_codeÚlocationZ
metro_coder   r   ZpostalÚcodeÚlenZsubdivisions)Úresponse© r   úQ/home/ubuntu/projects/ifolica/build/django/django/contrib/gis/geoip2/resources.pyÚCity   s    r   c             C   s   i |  j  j d 6|  j  j d 6S)Nr   r   )r   r	   r   )r   r   r   r   ÚCountry   s    r   N)r   r   r   r   r   r   Ú<module>   s   