
vÅÏ^3  ã               @   s   d  d „  Z  d d „  Z d S)c             C   s§   d |  j  j d |  j j d |  j j d |  j j d |  j j d |  j j d |  j j d |  j j	 d	 |  j j
 d
 |  j j d |  j r” |  j d j n d  d |  j j i S)NÚcityZcontinent_codeZcontinent_nameÚcountry_codeÚcountry_nameZdma_codeÚis_in_european_unionÚlatitudeÚ	longitudeZpostal_codeZregioné    Ú	time_zone)r   ÚnameZ	continentÚcodeÚcountryÚiso_codeÚlocationZ
metro_coder   r   r   ZpostalZsubdivisionsr   )Úresponse© r   úE/tmp/pip-build-8lau8j11/django/django/contrib/gis/geoip2/resources.pyÚCity   s    r   c             C   s   d |  j  j d |  j  j i S)Nr   r   )r   r   r	   )r   r   r   r   ÚCountry   s    r   N)r   r   r   r   r   r   Ú<module>   s   