code: def get_content(self, obj):
          
          election_day = ElectionDay.objects.get(
              date=self.context['election_date'])
          division = obj
          # In case of house special election,
          # use parent division.
          if obj.level.name == DivisionLevel.DISTRICT:
              division = obj.parent
  
          special = True if self.context.get('special') else False
  
          return PageContent.objects.division_content(
              election_day,
              division,
              special
          )
docs: All content for a state's page on an election day.