# reverse.py
from geopy import geocoders
from django.utils.encoding import smart_str
g = geocoders.Google('ABQIAAAAsQaqY0-yP0Cw0WzbSekm5BT296BgfLethFmtEh-hT7Sddrf7hRRIpkbeIt_zXynfagkQDsn_8r1pWQ')
#	point = (lat,lng)
point=(48.851,2.3038)
(new_place,new_point)=g.reverse(point)
print smart_str(new_place,encoding='utf-8',strings_only=False,errors='strict')
