mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Linting
This commit is contained in:
parent
198977bb6e
commit
941512c704
3 changed files with 44 additions and 41 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue