Just get rid of the parentheses:
{% for company in category.company_set.all %}
Here’s the appropriate documentation. You can call methods that take 0 parameters this way.
Just get rid of the parentheses:
{% for company in category.company_set.all %}
Here’s the appropriate documentation. You can call methods that take 0 parameters this way.