From 4db00afe7cf0c1b89bd8779d8c156ae2d93abf71 Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Tue, 7 Feb 2023 10:15:51 +0000 Subject: [PATCH] fixup! WIP get file_set from data_quality report --- .../apps/data_importers/base_importers.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/polling_stations/apps/data_importers/base_importers.py b/polling_stations/apps/data_importers/base_importers.py index af1476b109..1de38e11dc 100644 --- a/polling_stations/apps/data_importers/base_importers.py +++ b/polling_stations/apps/data_importers/base_importers.py @@ -178,20 +178,6 @@ def report(self): record[0].num_addresses = address_report.get_addresses_with_station_id() record[0].station_data_file = station_report.get_file_set() record[0].report = report.generate_string_report() - - # 2. `data_quality.file.upload` - # get the key from the file_set by getting the file_set_id from the data_quality record - # get the file_set_id from the data_quality record - # - - # record[0].address_file = - # record[0].station_file = - # change method in teardown - - # in the view check to see if there is a data quality report for the council - # see if the stations file and address file are linked to the data quality report - - # check the template, if there is a tick record[0].save() @property