mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 21:19:42 +02:00
Merge remote-tracking branch 'origin' into new-dev-sandbox-hotgov
This commit is contained in:
commit
be1338cb70
2 changed files with 35 additions and 3 deletions
32
src/registrar/migrations/0098_alter_domainrequest_status.py
Normal file
32
src/registrar/migrations/0098_alter_domainrequest_status.py
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Generated by Django 4.2.10 on 2024-06-07 15:27
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
import django_fsm
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("registrar", "0097_alter_user_phone"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="domainrequest",
|
||||||
|
name="status",
|
||||||
|
field=django_fsm.FSMField(
|
||||||
|
choices=[
|
||||||
|
("in review", "In review"),
|
||||||
|
("action needed", "Action needed"),
|
||||||
|
("approved", "Approved"),
|
||||||
|
("rejected", "Rejected"),
|
||||||
|
("ineligible", "Ineligible"),
|
||||||
|
("submitted", "Submitted"),
|
||||||
|
("withdrawn", "Withdrawn"),
|
||||||
|
("started", "Started"),
|
||||||
|
],
|
||||||
|
default="started",
|
||||||
|
max_length=50,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
|
@ -43,14 +43,14 @@ class DomainRequest(TimeStampedModel):
|
||||||
|
|
||||||
# Constants for choice fields
|
# Constants for choice fields
|
||||||
class DomainRequestStatus(models.TextChoices):
|
class DomainRequestStatus(models.TextChoices):
|
||||||
STARTED = "started", "Started"
|
|
||||||
SUBMITTED = "submitted", "Submitted"
|
|
||||||
IN_REVIEW = "in review", "In review"
|
IN_REVIEW = "in review", "In review"
|
||||||
ACTION_NEEDED = "action needed", "Action needed"
|
ACTION_NEEDED = "action needed", "Action needed"
|
||||||
APPROVED = "approved", "Approved"
|
APPROVED = "approved", "Approved"
|
||||||
WITHDRAWN = "withdrawn", "Withdrawn"
|
|
||||||
REJECTED = "rejected", "Rejected"
|
REJECTED = "rejected", "Rejected"
|
||||||
INELIGIBLE = "ineligible", "Ineligible"
|
INELIGIBLE = "ineligible", "Ineligible"
|
||||||
|
SUBMITTED = "submitted", "Submitted"
|
||||||
|
WITHDRAWN = "withdrawn", "Withdrawn"
|
||||||
|
STARTED = "started", "Started"
|
||||||
|
|
||||||
class StateTerritoryChoices(models.TextChoices):
|
class StateTerritoryChoices(models.TextChoices):
|
||||||
ALABAMA = "AL", "Alabama (AL)"
|
ALABAMA = "AL", "Alabama (AL)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue