2.1.45 country short_code > code
This commit is contained in:
@@ -25,7 +25,7 @@ def search_cities_in_db(search_str):
|
||||
for item in objs_wo_tz:
|
||||
item.get_n_save_timezone()
|
||||
res_data = City.objects.filter(id__in=ids).values(
|
||||
'id', 'name', 'country__name', 'timezone', 'country__flag', 'country__short_code'
|
||||
'id', 'name', 'country__name', 'timezone', 'country__flag', 'country__code'
|
||||
)
|
||||
|
||||
return list(res_data)
|
||||
|
||||
Reference in New Issue
Block a user