2👍
✅
You should call this method not on the filter but on the model instance:
{% for obj in filter %}
{{ obj.my_method }}
{% endfor %}
Source:stackexchange.com
2👍
You should call this method not on the filter but on the model instance:
{% for obj in filter %}
{{ obj.my_method }}
{% endfor %}