title: How to pass an argument to a method on a template variable in Django?
body: <p>I am using the lxml library to define a variable (category) in a view. lxml provides a method <code>.get</code> to retrieve custom attributes. I'd like to use it in the template like so:</p>
  
  <pre><code>{{ category.get("foo") }} 
  </code></pre>
  
  <p>I know that when using template variables it is unnecessary to use parenthesis, but I get the following error:</p>
  
  <pre><code>{{ category.get "foo" }}
  </code></pre>
  
  <blockquote>
    <p>Could not parse the remainder: ' "foo"' from 'category.get "foo"'</p>
  </blockquote>
  
  <p>I'm assuming that there is something wrong with my syntax but google has been no help. The django docs say that methods are looked up by using a <code>.</code></p>