mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 16:32:15 +02:00
Update function name
This commit is contained in:
parent
2e053936e7
commit
2eef22f895
2 changed files with 2 additions and 2 deletions
|
@ -330,7 +330,7 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
|||
</details>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% elif field.field.name == "state_territory" and original_object|model_name != 'portfolio' %}
|
||||
{% elif field.field.name == "state_territory" and original_object|model_name_lowercase != 'portfolio' %}
|
||||
<div class="flex-container margin-top-2">
|
||||
<span>
|
||||
CISA region:
|
||||
|
|
|
@ -172,5 +172,5 @@ def has_contact_info(user):
|
|||
|
||||
|
||||
@register.filter
|
||||
def model_name(instance):
|
||||
def model_name_lowercase(instance):
|
||||
return instance.__class__.__name__.lower()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue