allows to add/edit apex zone records

This commit is contained in:
Jérôme Schneider 2019-04-16 18:06:32 +02:00
parent ac262bd17c
commit 541a24730b
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class FormAddForwardRecord(forms.Form):
dns_server = forms.CharField(max_length=100)
record_name = forms.RegexField(max_length=100,
regex="^[a-zA-Z0-9-_]+$",
regex="^@$|^[a-zA-Z0-9-_]+$",
required=False)
record_type = forms.ChoiceField(choices=settings.RECORD_TYPE_CHOICES)
zone_name = forms.CharField(max_length=100)