Revert "fixed issue with nulls. Also changed Email field to char field for EPP"

This reverts commit f0e9c3760f.
This commit is contained in:
CocoByte 2024-03-05 14:42:58 -07:00
parent 273332984c
commit 4116356e15
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -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,