old_contents: from data_collection.github_importer import BaseGitHubImporter
  
  
  class Command(BaseGitHubImporter):
      srid = 4326
      council_id = "E07000111"
      elections = ["europarl.2019-05-23"]
      scraper_name = "wdiv-scrapers/DC-PollingStations-Sevenoaks"
      geom_type = "geojson"
  
      def district_record_to_dict(self, record):
          poly = self.extract_geometry(record, self.geom_type, self.get_srid("districts"))
          return {
              "internal_council_id": record["AREA_CODE"],
              "name": "%s - %s" % (record["Name"], record["AREA_CODE"]),
              "area": poly,
              "polling_station_id": record["AREA_CODE"],
          }
  
      def station_record_to_dict(self, record):
          location = self.extract_geometry(
              record, self.geom_type, self.get_srid("stations")
          )
          return {
              "internal_council_id": record["AreaCode"],
              "postcode": "",
              "address": record["Address"],
              "location": location,
          }
  
new_contents: from data_collection.github_importer import BaseGitHubImporter
  
  
  class Command(BaseGitHubImporter):
      srid = 4326
      council_id = "E07000111"
      elections = ["parl.2019-12-12"]
      scraper_name = "wdiv-scrapers/DC-PollingStations-Sevenoaks"
      geom_type = "geojson"
  
      def district_record_to_dict(self, record):
          poly = self.extract_geometry(record, self.geom_type, self.get_srid("districts"))
          return {
              "internal_council_id": record["AREA_CODE"],
              "name": "%s - %s" % (record["Name"], record["AREA_CODE"]),
              "area": poly,
              "polling_station_id": record["AREA_CODE"],
          }
  
      def station_record_to_dict(self, record):
          location = self.extract_geometry(
              record, self.geom_type, self.get_srid("stations")
          )
          return {
              "internal_council_id": record["AreaCode"],
              "postcode": "",
              "address": record["Address"],
              "location": location,
          }
  
subject: update Sevenoaks import script (closes #2117)