mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-30 04:53:09 +02:00
-s
This commit is contained in:
parent
e8409a1c2c
commit
1633feb57b
4 changed files with 82 additions and 14 deletions
|
@ -5,7 +5,7 @@ from .utility.time_stamped_model import TimeStampedModel
|
|||
|
||||
class StatusChoices(models.TextChoices):
|
||||
READY = "ready", "Ready"
|
||||
HOLD = "hold", "Hold"
|
||||
ON_HOLD = "on hold", "On Hold"
|
||||
|
||||
|
||||
class TransitionDomain(TimeStampedModel):
|
||||
|
@ -13,6 +13,10 @@ class TransitionDomain(TimeStampedModel):
|
|||
state of a domain upon transition between registry
|
||||
providers"""
|
||||
|
||||
# This is necessary to expose the enum to external
|
||||
# classes that import TransitionDomain
|
||||
StatusChoices = StatusChoices
|
||||
|
||||
username = models.TextField(
|
||||
null=False,
|
||||
blank=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue