|
@ -85,8 +85,8 @@ class Check(models.Model): |
|
|
def url(self): |
|
|
def url(self): |
|
|
return settings.PING_ENDPOINT + str(self.code) |
|
|
return settings.PING_ENDPOINT + str(self.code) |
|
|
|
|
|
|
|
|
def log_url(self): |
|
|
|
|
|
return settings.SITE_ROOT + reverse("hc-log", args=[self.code]) |
|
|
|
|
|
|
|
|
def details_url(self): |
|
|
|
|
|
return settings.SITE_ROOT + reverse("hc-details", args=[self.code]) |
|
|
|
|
|
|
|
|
def email(self): |
|
|
def email(self): |
|
|
return "%s@%s" % (self.code, settings.PING_EMAIL_DOMAIN) |
|
|
return "%s@%s" % (self.code, settings.PING_EMAIL_DOMAIN) |
|
|