def METHOD_NAME(self):
    if self.object.user:
        msg = _("An alert has been created")
    else:
        msg = _("A confirmation email has been sent to %s") % self.object.email
    messages.success(self.request, msg)
    return self.object.product.get_absolute_url()