mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
clean up a bad comment
This commit is contained in:
parent
d01bebec41
commit
34e0ce955a
1 changed files with 0 additions and 2 deletions
|
@ -55,11 +55,9 @@ def contains_checkbox(html_list):
|
||||||
|
|
||||||
@register.filter
|
@register.filter
|
||||||
def get_organization_long_name(organization_type):
|
def get_organization_long_name(organization_type):
|
||||||
# https://gist.github.com/OmenApps/3eef60ba4204f3d1842d9d7477efcce1#file-django_choices-txt-L28
|
|
||||||
organization_choices_dict = dict(
|
organization_choices_dict = dict(
|
||||||
DomainApplication.OrganizationChoicesVerbose.choices
|
DomainApplication.OrganizationChoicesVerbose.choices
|
||||||
)
|
)
|
||||||
|
|
||||||
long_form_type = organization_choices_dict[organization_type]
|
long_form_type = organization_choices_dict[organization_type]
|
||||||
if long_form_type is None:
|
if long_form_type is None:
|
||||||
logger.error("Organization type error, triggered by a template's custom filter")
|
logger.error("Organization type error, triggered by a template's custom filter")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue