diff --git a/apps/location/transfer_data.py b/apps/location/transfer_data.py index 330f6c25..e1399b86 100644 --- a/apps/location/transfer_data.py +++ b/apps/location/transfer_data.py @@ -504,7 +504,7 @@ def fix_location_models(): def remove_old_records(): clean_old_records(City, {"mysql_id__isnull": True}) clean_old_records(Region, {"mysql_ids__isnull": True}) - clean_old_records(City, {"mysql_ids__isnull": True}) + clean_old_records(City, {"mysql_id__isnull": True}) def transfer_city_gallery():