From bcf52804a8113420f6c7bc2b698fd27c1bd65a75 Mon Sep 17 00:00:00 2001 From: littlewolf Date: Wed, 20 Nov 2019 20:38:38 +0300 Subject: [PATCH] Add news transfer fix --- apps/location/transfer_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/location/transfer_data.py b/apps/location/transfer_data.py index 0ba58c2c..0d4e4c96 100644 --- a/apps/location/transfer_data.py +++ b/apps/location/transfer_data.py @@ -433,7 +433,7 @@ def fix_news(): continue news.country = correct_country - news.save() + news_item.save() def fix_location_models(): @@ -450,7 +450,7 @@ def fix_location_models(): # fix_location_collection() # fix_award_type() # fix_role() - pass + fix_news() data_types = { "dictionaries": [