-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1783 from cisagov/dk/1041-contact-labels
Issue #1041: Django contacts - remove redundant labels
- Loading branch information
Showing
2 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
src/registrar/migrations/0069_alter_contact_email_alter_contact_first_name_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Generated by Django 4.2.7 on 2024-02-14 21:45 | ||
|
||
from django.db import migrations, models | ||
import phonenumber_field.modelfields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("registrar", "0068_domainapplication_notes_domaininformation_notes"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="contact", | ||
name="email", | ||
field=models.EmailField(blank=True, db_index=True, max_length=254, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="contact", | ||
name="first_name", | ||
field=models.TextField(blank=True, db_index=True, null=True, verbose_name="first name / given name"), | ||
), | ||
migrations.AlterField( | ||
model_name="contact", | ||
name="last_name", | ||
field=models.TextField(blank=True, db_index=True, null=True, verbose_name="last name / family name"), | ||
), | ||
migrations.AlterField( | ||
model_name="contact", | ||
name="middle_name", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="contact", | ||
name="phone", | ||
field=phonenumber_field.modelfields.PhoneNumberField( | ||
blank=True, db_index=True, max_length=128, null=True, region=None | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="contact", | ||
name="title", | ||
field=models.TextField(blank=True, null=True, verbose_name="title or role in your organization"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters