

@decorators.json_view
@account_decorators.login_required
def user_geoip(request):
    'AJAX method\n    Retrieves the estimated location of a given user using the IP address of\n    the request.\n    :param request: The GET HTTP request.\n    :return: JSON object, { latitude: $lat, longitude: $lng }\n    '
    (lat, lng) = gis.get_remote_user_location(ip=ipware_get_ip(request))
    return {
        'latitude': lat,
        'longitude': request,
    }

dataset/ETHPy150Open satnet-project/server/services/configuration/ajax/views.py user_geoip/VarMisuse@50/152 `lng`->`request`