From 4116356e15a7c93299d88483d91f12d6ab158d30 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Tue, 5 Mar 2024 14:42:58 -0700 Subject: [PATCH] Revert "fixed issue with nulls. Also changed Email field to char field for EPP" This reverts commit f0e9c3760f32abad84496a64249ef144926f7ee6. --- src/registrar/models/public_contact.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/registrar/models/public_contact.py b/src/registrar/models/public_contact.py index 262455c1e..cdd0d6a42 100644 --- a/src/registrar/models/public_contact.py +++ b/src/registrar/models/public_contact.py @@ -60,15 +60,15 @@ class PublicContact(TimeStampedModel): ) name = models.CharField(null=False, help_text="Contact's full name") - org = models.CharField(null=True, blank=True, help_text="Contact's organization (null ok)") + org = models.CharField(null=True, help_text="Contact's organization (null ok)") street1 = models.CharField(null=False, help_text="Contact's street") - street2 = models.CharField(null=True, blank=True, help_text="Contact's street (null ok)") - street3 = models.CharField(null=True, blank=True, help_text="Contact's street (null ok)") + street2 = models.CharField(null=True, help_text="Contact's street (null ok)") + street3 = models.CharField(null=True, help_text="Contact's street (null ok)") city = models.CharField(null=False, help_text="Contact's city") sp = models.CharField(null=False, help_text="Contact's state or province") pc = models.CharField(null=False, help_text="Contact's postal code") cc = models.CharField(null=False, help_text="Contact's country code") - email = models.CharField(null=False, help_text="Contact's email address") + email = models.EmailField(null=False, help_text="Contact's email address") voice = models.CharField(null=False, help_text="Contact's phone number. Must be in ITU.E164.2005 format") fax = models.CharField( null=True,