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