title: django pass parameter to function in template tag
body: <p>Is it possible to pass a parameter to a function inside of a django template tag?</p>
  
  <p>Defined class and function:</p>
  
  <pre><code>class Bar():
  
      def foo(self, value):
         # do something here
         return True
  </code></pre>
  
  <p>in template:</p>
  
  <pre><code>{% if my_bar.foo:my_value %}Yes{% endif %}
  </code></pre>
  
  <p>Currently I'm getting a TemplateSyntaxError "Could not parse the remainder"</p>