mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
linted
This commit is contained in:
parent
0370dd9f83
commit
d6f6433e8e
2 changed files with 7 additions and 4 deletions
|
@ -29,7 +29,7 @@ __all__ = [
|
||||||
"PublicContact",
|
"PublicContact",
|
||||||
"User",
|
"User",
|
||||||
"Website",
|
"Website",
|
||||||
"TransitionDomain"
|
"TransitionDomain",
|
||||||
]
|
]
|
||||||
|
|
||||||
auditlog.register(Contact)
|
auditlog.register(Contact)
|
||||||
|
|
|
@ -2,8 +2,11 @@ from django.db import models
|
||||||
|
|
||||||
from .utility.time_stamped_model import TimeStampedModel
|
from .utility.time_stamped_model import TimeStampedModel
|
||||||
|
|
||||||
|
|
||||||
class TransitionDomain(TimeStampedModel):
|
class TransitionDomain(TimeStampedModel):
|
||||||
"""Transition Domain model stores information about the state of a domain upon transition between registry providers"""
|
"""Transition Domain model stores information about the
|
||||||
|
state of a domain upon transition between registry
|
||||||
|
providers"""
|
||||||
|
|
||||||
class StatusChoices(models.TextChoices):
|
class StatusChoices(models.TextChoices):
|
||||||
CREATED = "created", "Created"
|
CREATED = "created", "Created"
|
||||||
|
@ -30,13 +33,13 @@ class TransitionDomain(TimeStampedModel):
|
||||||
)
|
)
|
||||||
ignoreServerHold = models.BooleanField(
|
ignoreServerHold = models.BooleanField(
|
||||||
null=False,
|
null=False,
|
||||||
default=False, #--COMMENT: this was not specified in the ticket #921
|
default=False,
|
||||||
verbose_name="ignore Server Hold",
|
verbose_name="ignore Server Hold",
|
||||||
help_text="specifies whether to ignore server hold",
|
help_text="specifies whether to ignore server hold",
|
||||||
)
|
)
|
||||||
email_sent = models.BooleanField(
|
email_sent = models.BooleanField(
|
||||||
null=False,
|
null=False,
|
||||||
default=False,
|
default=False,
|
||||||
verbose_name="email sent",
|
verbose_name="email sent",
|
||||||
help_text="indicates whether email was sent",
|
help_text="indicates whether email was sent",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue