mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
system configuration: make domain optional
This commit is contained in:
parent
836ddd4a59
commit
a8cde77d5f
@ -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 \
|
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 \
|
machines on the Internet can reach you. It must consist of alphanumeric words \
|
||||||
separated by dots.'),
|
separated by dots.'),
|
||||||
|
required=False,
|
||||||
validators=[
|
validators=[
|
||||||
validators.RegexValidator(r'^[a-zA-Z][a-zA-Z0-9.]*$',
|
validators.RegexValidator(r'^[a-zA-Z][a-zA-Z0-9.]*$',
|
||||||
_('Invalid domain name'))])
|
_('Invalid domain name'))])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user