Reinforce service domain uniqueness

This commit is contained in:
Andrew Godwin 2022-12-26 15:29:09 -07:00
parent 5ac2c26eec
commit a815622190

View file

@ -54,7 +54,7 @@ class DomainCreate(FormView):
validators=[DomainValidator()], validators=[DomainValidator()],
) )
service_domain = forms.CharField( service_domain = forms.CharField(
help_text="Optional - a domain that serves Takahē if it is not running on the main domain.\nCannot be changed after the domain has been created.", help_text="Optional - a domain that serves Takahē if it is not running on the main domain.\nCannot be changed after the domain has been created.\nMust be unique for each display domain!",
required=False, required=False,
validators=[DomainValidator()], validators=[DomainValidator()],
) )