mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-06 19:23:23 +02:00
Merge branch 'main' into dk/1410-display-expiration
This commit is contained in:
commit
c5afb85473
7 changed files with 9 additions and 8 deletions
|
@ -262,7 +262,7 @@ class OrganizationContactForm(RegistrarForm):
|
||||||
validators=[
|
validators=[
|
||||||
RegexValidator(
|
RegexValidator(
|
||||||
"^[0-9]{5}(?:-[0-9]{4})?$|^$",
|
"^[0-9]{5}(?:-[0-9]{4})?$|^$",
|
||||||
message="Enter a zip code in the form of 12345 or 12345-6789.",
|
message="Enter a zip code in the required format, like 12345 or 12345-6789.",
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -239,7 +239,7 @@ class DomainOrgNameAddressForm(forms.ModelForm):
|
||||||
validators=[
|
validators=[
|
||||||
RegexValidator(
|
RegexValidator(
|
||||||
"^[0-9]{5}(?:-[0-9]{4})?$|^$",
|
"^[0-9]{5}(?:-[0-9]{4})?$|^$",
|
||||||
message="Enter a zip code in the form of 12345 or 12345-6789.",
|
message="Enter a zip code in the required format, like 12345 or 12345-6789.",
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -91,7 +91,8 @@ class User(AbstractUser):
|
||||||
|
|
||||||
# A new incoming user who is being invited to be a domain manager (that is,
|
# A new incoming user who is being invited to be a domain manager (that is,
|
||||||
# their email address is in DomainInvitation for an invitation that is not yet "retrieved").
|
# their email address is in DomainInvitation for an invitation that is not yet "retrieved").
|
||||||
if DomainInvitation.objects.filter(email=email, status=DomainInvitation.INVITED).exists():
|
invited = DomainInvitation.DomainInvitationStatus.INVITED
|
||||||
|
if DomainInvitation.objects.filter(email=email, status=invited).exists():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -14,7 +14,7 @@ Now that your .gov domain has been approved, there are a few more things to do b
|
||||||
YOU MUST ADD DOMAIN NAME SERVER INFORMATION
|
YOU MUST ADD DOMAIN NAME SERVER INFORMATION
|
||||||
|
|
||||||
Before your .gov domain can be used, you have to connect it to your Domain Name System (DNS) hosting service. At this time, we don’t provide DNS hosting services.
|
Before your .gov domain can be used, you have to connect it to your Domain Name System (DNS) hosting service. At this time, we don’t provide DNS hosting services.
|
||||||
Go to the domain management page to add your domain name server information <https://registrar.get.gov/domain/{{ application.id }}/nameservers>.
|
Go to the domain management page to add your domain name server information <https://manage.get.gov/domain/{{ application.approved_domain.id }}/nameservers>.
|
||||||
|
|
||||||
Get help with adding your domain name server information <https://get.gov/help/domain-management/#manage-dns-information-for-your-domain>.
|
Get help with adding your domain name server information <https://get.gov/help/domain-management/#manage-dns-information-for-your-domain>.
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ ADD DOMAIN MANAGERS, SECURITY EMAIL
|
||||||
|
|
||||||
We strongly recommend that you add other points of contact who will help manage your domain. We also recommend that you provide a security email. This email will allow the public to report security issues on your domain. Security emails are made public.
|
We strongly recommend that you add other points of contact who will help manage your domain. We also recommend that you provide a security email. This email will allow the public to report security issues on your domain. Security emails are made public.
|
||||||
|
|
||||||
Go to the domain management page to add domain contacts <https://registrar.get.gov/domain/{{ application.id }}/your-contact-information> and a security email <https://registrar.get.gov/domain/{{ application.id }}/security-email>.
|
Go to the domain management page to add domain contacts <https://manage.get.gov/domain/{{ application.approved_domain.id }}/your-contact-information> and a security email <https://manage.get.gov/domain/{{ application.approved_domain.id }}/security-email>.
|
||||||
|
|
||||||
Get help with managing your .gov domain <https://get.gov/help/domain-management/>.
|
Get help with managing your .gov domain <https://get.gov/help/domain-management/>.
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ NEXT STEPS
|
||||||
- We’re reviewing your request. This usually takes 20 business days.
|
- We’re reviewing your request. This usually takes 20 business days.
|
||||||
|
|
||||||
- You can check the status of your request at any time.
|
- You can check the status of your request at any time.
|
||||||
<https://registrar.get.gov/application/{{ application.id }}>
|
<https://manage.get.gov/application/{{ application.id }}>
|
||||||
|
|
||||||
- We’ll email you with questions or when we complete our review.
|
- We’ll email you with questions or when we complete our review.
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ NEXT STEPS
|
||||||
- We’ll review your request. This usually takes 20 business days.
|
- We’ll review your request. This usually takes 20 business days.
|
||||||
|
|
||||||
- You can check the status of your request at any time.
|
- You can check the status of your request at any time.
|
||||||
<https://registrar.get.gov/application/{{ application.id }}>
|
<https://manage.get.gov/application/{{ application.id }}>
|
||||||
|
|
||||||
- We’ll email you with questions or when we complete our review.
|
- We’ll email you with questions or when we complete our review.
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ class TestFormValidation(MockEppLib):
|
||||||
form = OrganizationContactForm(data={"zipcode": "nah"})
|
form = OrganizationContactForm(data={"zipcode": "nah"})
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
form.errors["zipcode"],
|
form.errors["zipcode"],
|
||||||
["Enter a zip code in the form of 12345 or 12345-6789."],
|
["Enter a zip code in the required format, like 12345 or 12345-6789."],
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_org_contact_zip_valid(self):
|
def test_org_contact_zip_valid(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue