def district_record_to_dict(self, record):
    poly = self.extract_geometry(record, self.geom_type, self.get_srid('districts'))
    if (record['id'] in ['pollingdistricts.33', 'pollingdistricts.38', 'pollingdistricts.50']):
        return None
    return {'internal_council_id': record['district'], 'name': record['district'], 'area': poly}
def district_record_to_dict(self, record):
    poly = self.extract_geometry(record, self.geom_type, self.get_srid('districts'))
    if (record['id'] in ['pollingdistricts.33', 'pollingdistricts.38', 'pollingdistricts.50']):
        return None
    return {'internal_council_id': record['district'], 'name': record['district'], 'area': poly}