Merge branch 'main' of https://github.com/cisagov/manage.get.gov into rh/1896-federal-agency

This commit is contained in:
Rebecca Hsieh 2024-03-21 16:48:03 -07:00
commit 6daeeeae81
No known key found for this signature in database
2 changed files with 39 additions and 3 deletions

View file

@ -0,0 +1,35 @@
# Generated by Django 4.2.10 on 2024-03-15 18:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("registrar", "0076_alter_domainrequest_current_websites_and_more"),
]
operations = [
migrations.AlterField(
model_name="publiccontact",
name="fax",
field=models.CharField(
blank=True, help_text="Contact's fax number (null ok). Must be in ITU.E164.2005 format.", null=True
),
),
migrations.AlterField(
model_name="publiccontact",
name="org",
field=models.CharField(blank=True, help_text="Contact's organization (null ok)", null=True),
),
migrations.AlterField(
model_name="publiccontact",
name="street2",
field=models.CharField(blank=True, help_text="Contact's street (null ok)", null=True),
),
migrations.AlterField(
model_name="publiccontact",
name="street3",
field=models.CharField(blank=True, help_text="Contact's street (null ok)", null=True),
),
]

View file

@ -60,10 +60,10 @@ class PublicContact(TimeStampedModel):
)
name = models.CharField(null=False, help_text="Contact's full name")
org = models.CharField(null=True, help_text="Contact's organization (null ok)")
org = models.CharField(null=True, blank=True, help_text="Contact's organization (null ok)")
street1 = models.CharField(null=False, help_text="Contact's street")
street2 = models.CharField(null=True, help_text="Contact's street (null ok)")
street3 = models.CharField(null=True, help_text="Contact's street (null ok)")
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)")
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")
@ -72,6 +72,7 @@ class PublicContact(TimeStampedModel):
voice = models.CharField(null=False, help_text="Contact's phone number. Must be in ITU.E164.2005 format")
fax = models.CharField(
null=True,
blank=True,
help_text="Contact's fax number (null ok). Must be in ITU.E164.2005 format.",
)
pw = models.CharField(null=False, help_text="Contact's authorization code. 16 characters minimum.")