mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-29 12:33:17 +02:00
Merge branch 'main' into ky/required-optional-form-fields
This commit is contained in:
commit
4e85658d0e
19 changed files with 1170 additions and 70 deletions
|
@ -105,6 +105,29 @@ class TransitionDomain(TimeStampedModel):
|
|||
blank=True,
|
||||
help_text="Phone",
|
||||
)
|
||||
address_line = models.TextField(
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="Street address",
|
||||
)
|
||||
city = models.TextField(
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="City",
|
||||
)
|
||||
state_territory = models.CharField(
|
||||
max_length=2,
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="State, territory, or military post",
|
||||
)
|
||||
zipcode = models.CharField(
|
||||
max_length=10,
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="Zip code",
|
||||
db_index=True,
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.username}, {self.domain_name}"
|
||||
|
@ -128,4 +151,8 @@ class TransitionDomain(TimeStampedModel):
|
|||
f"last_name: {self.last_name}, \n"
|
||||
f"email: {self.email}, \n"
|
||||
f"phone: {self.phone}, \n"
|
||||
f"address_line: {self.address_line}, \n"
|
||||
f"city: {self.city}, \n"
|
||||
f"state_territory: {self.state_territory}, \n"
|
||||
f"zipcode: {self.zipcode}, \n"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue