diff --git a/ReferenceDataApp/funcs.py b/ReferenceDataApp/funcs.py index 4ca247f..d2c86bf 100644 --- a/ReferenceDataApp/funcs.py +++ b/ReferenceDataApp/funcs.py @@ -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)