mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 05:29:43 +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>
|
</details>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% 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">
|
<div class="flex-container margin-top-2">
|
||||||
<span>
|
<span>
|
||||||
CISA region:
|
CISA region:
|
||||||
|
|
|
@ -172,5 +172,5 @@ def has_contact_info(user):
|
||||||
|
|
||||||
|
|
||||||
@register.filter
|
@register.filter
|
||||||
def model_name(instance):
|
def model_name_lowercase(instance):
|
||||||
return instance.__class__.__name__.lower()
|
return instance.__class__.__name__.lower()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue