mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-07 13:05:36 +02:00
Fix max length
This commit is contained in:
parent
25e737821a
commit
ec371f1844
3 changed files with 7 additions and 21 deletions
|
@ -314,8 +314,8 @@ class DomainSecurityEmailForm(forms.Form):
|
||||||
},
|
},
|
||||||
validators=[
|
validators=[
|
||||||
MaxLengthValidator(
|
MaxLengthValidator(
|
||||||
254,
|
320,
|
||||||
message="Response must be less than 254 characters.",
|
message="Response must be less than 320 characters.",
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
# Generated by Django 4.2.10 on 2024-04-09 14:44
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
("registrar", "0081_create_groups_v10"),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="contact",
|
|
||||||
name="email",
|
|
||||||
field=models.EmailField(blank=True, db_index=True, max_length=320, null=True),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -69,7 +69,11 @@ class PublicContact(TimeStampedModel):
|
||||||
pc = models.CharField(null=False, help_text="Contact's postal code")
|
pc = models.CharField(null=False, help_text="Contact's postal code")
|
||||||
cc = models.CharField(null=False, help_text="Contact's country code")
|
cc = models.CharField(null=False, help_text="Contact's country code")
|
||||||
email = models.EmailField(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")
|
voice = models.CharField(
|
||||||
|
null=False,
|
||||||
|
help_text="Contact's phone number. Must be in ITU.E164.2005 format",
|
||||||
|
max_length=320,
|
||||||
|
)
|
||||||
fax = models.CharField(
|
fax = models.CharField(
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue