Control DNS checks per domain.

WIP
This commit is contained in:
Antoine Nguyen
2017-02-06 07:27:30 +01:00
parent 2a0094de46
commit ce77b66a2e
9 changed files with 48 additions and 28 deletions
+4
View File
@@ -50,6 +50,10 @@ class Domain(AdminObject):
)
owners = GenericRelation(ObjectAccess)
type = models.CharField(default="domain", max_length=20)
enable_dns_checks = models.BooleanField(
ugettext_lazy("Enable DNS checks"), default=True,
help_text=ugettext_lazy("Check to enable DNS checks for this domain")
)
objects = DomainManager()