mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-20 03:19:24 +02:00
lint and migrations
This commit is contained in:
parent
52f299d06e
commit
aa26f782d0
2 changed files with 51 additions and 1 deletions
|
@ -969,7 +969,20 @@ class DomainApplicationAdmin(ListHeaderAdmin):
|
||||||
search_help_text = "Search by domain or submitter."
|
search_help_text = "Search by domain or submitter."
|
||||||
|
|
||||||
fieldsets = [
|
fieldsets = [
|
||||||
(None, {"fields": ["status", "rejection_reason", "investigator", "creator", "submitter", "approved_domain", "notes"]}),
|
(
|
||||||
|
None,
|
||||||
|
{
|
||||||
|
"fields": [
|
||||||
|
"status",
|
||||||
|
"rejection_reason",
|
||||||
|
"investigator",
|
||||||
|
"creator",
|
||||||
|
"submitter",
|
||||||
|
"approved_domain",
|
||||||
|
"notes",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
),
|
||||||
(".gov domain", {"fields": ["requested_domain", "alternative_domains"]}),
|
(".gov domain", {"fields": ["requested_domain", "alternative_domains"]}),
|
||||||
("Contacts", {"fields": ["authorizing_official", "other_contacts", "no_other_contacts_rationale"]}),
|
("Contacts", {"fields": ["authorizing_official", "other_contacts", "no_other_contacts_rationale"]}),
|
||||||
("Background info", {"fields": ["purpose", "anything_else", "current_websites"]}),
|
("Background info", {"fields": ["purpose", "anything_else", "current_websites"]}),
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Generated by Django 4.2.10 on 2024-03-07 17:42
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("registrar", "0072_alter_publiccontact_fax_alter_publiccontact_voice"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="domainapplication",
|
||||||
|
name="current_websites",
|
||||||
|
field=models.ManyToManyField(
|
||||||
|
blank=True, related_name="current+", to="registrar.website", verbose_name="Current websites"
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="domainapplication",
|
||||||
|
name="other_contacts",
|
||||||
|
field=models.ManyToManyField(
|
||||||
|
blank=True, related_name="contact_applications", to="registrar.contact", verbose_name="Other employees"
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="domaininformation",
|
||||||
|
name="other_contacts",
|
||||||
|
field=models.ManyToManyField(
|
||||||
|
blank=True,
|
||||||
|
related_name="contact_applications_information",
|
||||||
|
to="registrar.contact",
|
||||||
|
verbose_name="Other employees",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Add table
Add a link
Reference in a new issue