system configuration: make domain optional

This commit is contained in:
fonfon authored and Sunil Mohan Adapa committed 2015-02-11 10:28:29 +05:30
1 parent 836ddd4a59
commit a8cde77d5f
1 file changed
+1
+1
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'))])