Complete Domain State options revisions to tuples

This commit is contained in:
Rachid Mrad 2023-12-05 19:21:04 -05:00
parent d3b732f735
commit af1b598699
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF

View file

@ -122,20 +122,20 @@ class Domain(TimeStampedModel, DomainHelper):
"""These capture (some of) the states a domain object can be in.""" """These capture (some of) the states a domain object can be in."""
# the state is indeterminate # the state is indeterminate
UNKNOWN = "unknown" UNKNOWN = "unknown", "Unknown"
# The domain object exists in the registry # The domain object exists in the registry
# but nameservers don't exist for it yet # but nameservers don't exist for it yet
DNS_NEEDED = "dns needed", "Dns needed" DNS_NEEDED = "dns needed", "Dns needed"
# Domain has had nameservers set, may or may not be active # Domain has had nameservers set, may or may not be active
READY = "ready" READY = "ready", "Ready"
# Registrar manually changed state to client hold # Registrar manually changed state to client hold
ON_HOLD = "on hold", "On hold" ON_HOLD = "on hold", "On hold"
# previously existed but has been deleted from the registry # previously existed but has been deleted from the registry
DELETED = "deleted" DELETED = "deleted", "Deleted"
class Cache(property): class Cache(property):
""" """