Fixed a settings typo.
- Legacy-Id: 14725
This commit is contained in:
parent
91ee536322
commit
ad2139dc8f
|
@ -148,7 +148,7 @@ class NewEmailForm(forms.Form):
|
||||||
if existing:
|
if existing:
|
||||||
raise forms.ValidationError("Email address '%s' is already assigned to account '%s' (%s)" % (existing, existing.person and existing.person.user, existing.person))
|
raise forms.ValidationError("Email address '%s' is already assigned to account '%s' (%s)" % (existing, existing.person and existing.person.user, existing.person))
|
||||||
|
|
||||||
for pat in settings.EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
|
for pat in settings.EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
|
||||||
if re.search(pat, email):
|
if re.search(pat, email):
|
||||||
raise ValidationError("This email address is not valid in a datatracker account")
|
raise ValidationError("This email address is not valid in a datatracker account")
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ class NewEmailForm(EmailForm):
|
||||||
if address:
|
if address:
|
||||||
validate_email(address)
|
validate_email(address)
|
||||||
|
|
||||||
for pat in settings.EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
|
for pat in settings.EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
|
||||||
if re.search(pat, address):
|
if re.search(pat, address):
|
||||||
raise ValidationError("This email address is not valid in a datatracker account")
|
raise ValidationError("This email address is not valid in a datatracker account")
|
||||||
|
|
||||||
|
|
|
@ -899,7 +899,7 @@ SVN_ADMIN_COMMAND = "/usr/bin/svnadmin"
|
||||||
|
|
||||||
# Email addresses people attempt to set for their account will be checked
|
# Email addresses people attempt to set for their account will be checked
|
||||||
# against the following list of regex expressions with re.search(pat, addr):
|
# against the following list of regex expressions with re.search(pat, addr):
|
||||||
EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS = ["@ietf.org$"]
|
EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS = ["@ietf.org$"]
|
||||||
|
|
||||||
MARKUP_SETTINGS = {
|
MARKUP_SETTINGS = {
|
||||||
'restructuredtext': {
|
'restructuredtext': {
|
||||||
|
|
Loading…
Reference in a new issue