title: How do I add multiple arguments to my custom template filter in a django template?
body: <h2>Here's my custom filter:</h2>
  
  <pre><code>from django import template
  
  register = template.Library()
  
  @register.filter
  def replace(value, cherche, remplacement):
      return value.replace(cherche, remplacement)
  </code></pre>
  
  <h2>and here are the ways I tried using it in my template file that resulted in an error:</h2>
  
  <pre><code>{{ attr.name|replace:"_"," " }}
  {{ attr.name|replace:"_" " " }}
  {{ attr.name|replace:"_":" " }}
  {{ attr.name|replace:"cherche='_', remplacement=' '" }}
  </code></pre>
  
  <p>I looked into <a href="http://docs.djangoproject.com/en/dev/howto/custom-template-tags/" rel="noreferrer">django's docs</a> and <a href="http://www.djangobook.com/en/beta/chapter10/" rel="noreferrer">book</a> but only found example using a single argument... is it even possible?</p>