E
А
Entity.objects.last().id
- именно так и вызывается? Я имею ввиду, не могло быть так, что кверисет уже по другому полю отсортирован был (явно или из-за переопределённого менеджера) в том случае, когда id левый возвращался?Size: a a a
E
Entity.objects.last().id
- именно так и вызывается? Я имею ввиду, не могло быть так, что кверисет уже по другому полю отсортирован был (явно или из-за переопределённого менеджера) в том случае, когда id левый возвращался?NK
V💊
NK
V💊
NK
iS
iS
NK
def get_point_adress(city=None, address=None, build=None):
url = get_point_url + ' '.join([city, address, build])
print(url)
response = requests.get(url)
json_result = json.loads(response.text)
for x in json_result['response']['GeoObjectCollection']:
print(x['featureMember'])
def get_point_adress(city=None, address=None, build=None):
url = get_point_url + ' '.join([city, address, build])
print(url)
response = requests.get(url)
json_result = json.loads(response.text)
for x in json_result['response']['GeoObjectCollection']:
print(json_result['response']['GeoObjectCollection']['featureMember'][x])
list indices must be integers or slices, not str
print(json_result['response']['GeoObjectCollection']['featureMember'][int(x)])
V💊
def get_point_adress(city=None, address=None, build=None):
url = get_point_url + ' '.join([city, address, build])
print(url)
response = requests.get(url)
json_result = json.loads(response.text)
for x in json_result['response']['GeoObjectCollection']:
print(x['featureMember'])
def get_point_adress(city=None, address=None, build=None):
url = get_point_url + ' '.join([city, address, build])
print(url)
response = requests.get(url)
json_result = json.loads(response.text)
for x in json_result['response']['GeoObjectCollection']:
print(json_result['response']['GeoObjectCollection']['featureMember'][x])
list indices must be integers or slices, not str
print(json_result['response']['GeoObjectCollection']['featureMember'][int(x)])
V
V💊
V
V💊
NK
V💊
NK
A
NK
A