def get_cancel_url(self):
    return reverse('customer:alerts-cancel-by-key', kwargs={'key': self.key})
def get_cancel_url(self):
    return reverse('customer:alerts-cancel-by-key', kwargs={'key': self.key})