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