Revision b1e7b4ee edumanage/views.py

b/edumanage/views.py
206 206
            response_location = {}
207 207
            response_location['lat'] = u"%s"%sl.latitude
208 208
            response_location['lng'] = u"%s"%sl.longitude
209
            response_location['address'] = u"%s<br>%s"%(sl.address_street, sl.address_city)
210
            response_location['enc'] = u"%s"%(sl.enc_level)
211
            response_location['AP_no'] = u"%s"%(sl.AP_no)
209 212
            response_location['name'] = sl.loc_name.get(lang='en').name
213
            response_location['port_restrict'] = u"%s"%(sl.port_restrict)
214
            response_location['transp_proxy'] = u"%s"%(sl.transp_proxy)
215
            response_location['IPv6'] = u"%s"%(sl.IPv6)
216
            response_location['NAT'] = u"%s"%(sl.NAT)
217
            response_location['wired'] = u"%s"%(sl.wired)
218
            response_location['SSID'] = u"%s"%(sl.SSID)
210 219
            response_location['key'] = u"%s"%sl.pk
211 220
            locs.append(response_location)
212 221
        return HttpResponse(json.dumps(locs), mimetype='application/json')

Also available in: Unified diff