old_contents: from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter
  
  
  class Command(BaseXpressDemocracyClubCsvImporter):
      council_id = "E07000091"
      addresses_name = "parl.2019-12-12/Version 1/Democracy_Club__12December2019nf.tsv"
      stations_name = "parl.2019-12-12/Version 1/Democracy_Club__12December2019nf.tsv"
      elections = ["parl.2019-12-12"]
      csv_delimiter = "\t"
      csv_encoding = "windows-1252"
      allow_station_point_from_postcode = False
  
      def station_record_to_dict(self, record):
  
          # correction: https://trello.com/c/R5XolnQC
          if record.polling_place_id == "7903":  # New Milton Cricket Club
              record = record._replace(polling_place_postcode="BH25 5SU")
  
          return super().station_record_to_dict(record)
  
      def address_record_to_dict(self, record):
          rec = super().address_record_to_dict(record)
          uprn = record.property_urn.strip().lstrip("0")
  
          if uprn in ["10007461147", "100062214501"]:
              return None
  
          return rec
  
new_contents: from django.contrib.gis.geos import Point
  from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter
  
  
  class Command(BaseXpressDemocracyClubCsvImporter):
      council_id = "E07000091"
      addresses_name = "parl.2019-12-12/Version 1/Democracy_Club__12December2019nf.tsv"
      stations_name = "parl.2019-12-12/Version 1/Democracy_Club__12December2019nf.tsv"
      elections = ["parl.2019-12-12"]
      csv_delimiter = "\t"
      csv_encoding = "windows-1252"
      allow_station_point_from_postcode = False
  
      def station_record_to_dict(self, record):
  
          # correction: https://trello.com/c/R5XolnQC
          if record.polling_place_id == "7903":  # New Milton Cricket Club
              record = record._replace(polling_place_postcode="BH25 5SU")
  
          # user issue report #195
          if record.polling_place_id == "7942":  # Sandleheath Village Hall
              rec = super().station_record_to_dict(record)
              rec["location"] = Point(-1.817931, 50.931645, srid=4326)
              return rec
  
          return super().station_record_to_dict(record)
  
      def address_record_to_dict(self, record):
          rec = super().address_record_to_dict(record)
          uprn = record.property_urn.strip().lstrip("0")
  
          if uprn in ["10007461147", "100062214501"]:
              return None
  
          return rec
  
subject: fix for New Forest (user reported issue)