**uid**: :code:`{person.uid}_candidate:{party.uid}-{cycle.ap_code}`

def save(self, *args, **kwargs):
        """
        **uid**: :code:`{person.uid}_candidate:{party.uid}-{cycle.ap_code}`
        """
        self.uid = "{}_candidate:{}-{}".format(
            self.person.uid, self.party.uid, self.race.cycle.uid
        )
        super(Candidate, self).save(*args, **kwargs)