system configuration: make domain optional

This commit is contained in:
fonfon 2015-01-31 18:28:12 +01:00 committed by Sunil Mohan Adapa
parent 836ddd4a59
commit a8cde77d5f

View File

@ -81,6 +81,7 @@ and must not be greater than 63 characters in length.'),
help_text=_('Your domain name is the global name by which other \
machines on the Internet can reach you. It must consist of alphanumeric words \
separated by dots.'),
required=False,
validators=[
validators.RegexValidator(r'^[a-zA-Z][a-zA-Z0-9.]*$',
_('Invalid domain name'))])