Ejemplo n.º 1
0
def user_city(context):
    ip = get_ip(context['request'])
    return get_city(ip)
Ejemplo n.º 2
0
 def city(self):
     """ Return city name using Telize or Geoip."""
     return get_city(self.ip)
Ejemplo n.º 3
0
 def city(self):
     """ Return city name using Telize or Geoip."""
     return get_city(self.ip)