reset admin's migrations steps to avoid complex migration stuff; add moar options; improve coding style

This commit is contained in:
Gael Pasgrimaud
2016-09-14 12:13:23 +02:00
parent 8b914246cf
commit 05fcb53109
8 changed files with 142 additions and 173 deletions
+8
View File
@@ -53,6 +53,14 @@ class AdminParametersForm(parameters.AdminParametersForm):
dom_sep = SeparatorField(label=ugettext_lazy("Domains"))
enable_mx_checks = YesNoField(
label=ugettext_lazy("Enable MX checks"),
initial="yes",
help_text=ugettext_lazy(
"Check that every domain has a valid MX record"
)
)
enable_dnsbl_checks = YesNoField(
label=ugettext_lazy("Enable DNSBL checks"),
initial="yes",