This commit is contained in:
zandercymatics 2024-04-01 13:47:27 -06:00
parent 198977bb6e
commit 941512c704
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 44 additions and 41 deletions

View file

@ -124,6 +124,7 @@ class DomainRequest(TimeStampedModel):
When adding the election variant, you must append "_election" to the end of the string.
"""
# We can't inherit OrganizationChoices due to models.TextChoices being an enum.
# We can redefine these values instead.
FEDERAL = "federal", "Federal"
@ -160,7 +161,7 @@ class DomainRequest(TimeStampedModel):
cls.SPECIAL_DISTRICT_ELECTION: cls.SPECIAL_DISTRICT,
}
return org_election_map
@classmethod
def get_org_generic_to_org_election(cls):
"""