mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
minor cleanup
This commit is contained in:
parent
4831e93f3c
commit
6b669df5e7
4 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 4.2.10 on 2024-06-17 17:08
|
||||
# Generated by Django 4.2.10 on 2024-06-17 19:47
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
@ -164,7 +164,7 @@ class Migration(migrations.Migration):
|
|||
name="portfolio",
|
||||
field=models.OneToOneField(
|
||||
blank=True,
|
||||
help_text="Portfolio associated with this domain",
|
||||
help_text="Portfolio associated with this domain request",
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.PROTECT,
|
||||
related_name="DomainInformation_portfolio",
|
||||
|
|
|
@ -310,7 +310,7 @@ class DomainRequest(TimeStampedModel):
|
|||
null=True,
|
||||
blank=True,
|
||||
related_name="DomainInformation_portfolio",
|
||||
help_text="Portfolio associated with this domain",
|
||||
help_text="Portfolio associated with this domain request",
|
||||
)
|
||||
|
||||
# This is the domain request user who created this domain request. The contact
|
||||
|
|
|
@ -21,11 +21,11 @@ class Portfolio(TimeStampedModel):
|
|||
OrganizationChoices = DomainRequest.OrganizationChoices
|
||||
StateTerritoryChoices = DomainRequest.StateTerritoryChoices
|
||||
|
||||
# creator- user foreign key- stores who created this model should get the user who is adding
|
||||
# it via django admin if there is a user (aka not done via commandline/ manual means)"""
|
||||
# creator - stores who created this model. If no creator is specified in DJA,
|
||||
# then the creator will default to the current request user"""
|
||||
creator = models.ForeignKey("registrar.User", on_delete=models.PROTECT, help_text="Associated user", unique=False)
|
||||
|
||||
# notes- text field (copy what is done on requests/domains)
|
||||
# notes - text field (copies what is done on domain requests)
|
||||
notes = models.TextField(
|
||||
null=True,
|
||||
blank=True,
|
||||
|
|
|
@ -2291,7 +2291,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
|||
"rejection_reason",
|
||||
"action_needed_reason",
|
||||
"federal_agency",
|
||||
'portfolio',
|
||||
"portfolio",
|
||||
"creator",
|
||||
"investigator",
|
||||
"generic_org_type",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue