old_contents: from django.core.management.base import BaseCommand
  from django.contrib.gis.geos import Point
  
  from pollingstations.models import PollingStation, PollingDistrict
  from councils.models import Council
  
  
  class Command(BaseCommand):
  
      def handle(self, *args, **kwargs):
  
          #SCambs
          ps = PollingStation.objects.get(
              internal_council_id='PD1', council_id='E07000012')
          ps.postcode = "CB3 9NW"
          ps.address = "Grantchester Communal Centre, Tabrum Close, Grantchester"
          ps.location = None
          ps.save()
  
          ps = PollingStation.objects.get(
              internal_council_id='OC1', council_id='E07000012')
          ps.postcode = "CB24 6BL"
          ps.address = "Milton Community Centre, Coles Road, Milton, Cambridge"
          ps.location = None
          ps.save()
  
          ps = PollingStation.objects.get(
              internal_council_id='OC2', council_id='E07000012')
          ps.postcode = "CB24 6BL"
          ps.address = "Milton Community Centre, Coles Road, Milton, Cambridge"
          ps.location = None
          ps.save()
  
          c = Council.objects.get(council_id='E09000014')
          c.phone = "0208 489 1000"
          c.save()
  
          ps = PollingStation.objects.get(internal_council_id='WH4P',
              council_id='E09000030')
          ps.location = Point(-0.066990,51.510020,srid=4326)
          ps.save()
  
new_contents: from django.core.management.base import BaseCommand
  from django.contrib.gis.geos import Point
  
  from pollingstations.models import PollingStation, PollingDistrict
  from councils.models import Council
  
  
  class Command(BaseCommand):
  
      def handle(self, *args, **kwargs):
  
          #SCambs
          ps = PollingStation.objects.get(
              internal_council_id='PD1', council_id='E07000012')
          ps.postcode = "CB3 9NW"
          ps.address = "Grantchester Communal Centre, Tabrum Close, Grantchester"
          ps.location = None
          ps.save()
  
          ps = PollingStation.objects.get(
              internal_council_id='OC1', council_id='E07000012')
          ps.postcode = "CB24 6BL"
          ps.address = "Milton Community Centre, Coles Road, Milton, Cambridge"
          ps.location = None
          ps.save()
  
          ps = PollingStation.objects.get(
              internal_council_id='OC2', council_id='E07000012')
          ps.postcode = "CB24 6BL"
          ps.address = "Milton Community Centre, Coles Road, Milton, Cambridge"
          ps.location = None
          ps.save()
  
          c = Council.objects.get(council_id='E09000014')
          c.phone = "0208 489 1000"
          c.save()
  
          ps = PollingStation.objects.get(internal_council_id='WH4P',
              council_id='E09000030')
          ps.location = Point(-0.066990,51.510020,srid=4326)
          ps.save()
  
          ps_qs = PollingStation.objects.filter(council_id='E09000011')
          for ps in ps_qs:
              ps.address = ps.address.replace('&rsquo;', "’")
              ps.save()
  
subject: Fix quotes in addresses