mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Introduce daemon component to handle systemd units
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
46f162d093
commit
e4351b6b97
171 files changed
+1073
-1993
No files matched your search
@@ -22,7 +22,7 @@ from django import forms
|
||||
from django.core.validators import validate_ipv46_address
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from plinth.forms import ServiceForm
|
||||
from plinth.forms import AppForm
|
||||
|
||||
|
||||
def validate_ips(ips):
|
||||
@@ -31,7 +31,7 @@ def validate_ips(ips):
|
||||
validate_ipv46_address(ip_addr)
|
||||
|
||||
|
||||
class BindForm(ServiceForm):
|
||||
class BindForm(AppForm):
|
||||
"""BIND configuration form"""
|
||||
forwarders = forms.CharField(
|
||||
label=_('Forwarders'), required=False, validators=[validate_ips],
|
||||
|
||||
Reference in new issue
Block a user