endswith_cs
(other
)This evaluates to true if the string on the left side ends with the string on the right side. This method operates in a case-sensitive manner. For the case-insensitive method see endswith.
<ul>
{% for item in this.children.filter(F.name.endswith_cs('House')) %}
<li>{{ item.name }}</li>
{% endfor %}
</ul>
Comments