0.0.40
change algo get_address_point_ajax
This commit is contained in:
@@ -46,6 +46,8 @@ def get_address_point_ajax(request):
|
||||
for item in res_data:
|
||||
item['index'] = i
|
||||
item['ctrl_name'] = data['ctrl_name']
|
||||
item['airport_fullname_html'] = f'<b>{item["iata_code"]}</b> - {item["name"]}'
|
||||
item['airport_fullname'] = f'{item["iata_code"]} - {item["name"]}'
|
||||
html = f"{html}{render_to_string('widgets/w_ac_input_address_point.html', item)}"
|
||||
i += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user