title: Django Template how to fix error "Could not parse the remainder: '|' from '|' "
body: <pre><code>mydict = {"book1":["user1", "user2", "user3"], 
            "book2":["user1", "user4", "user5"],} 
  </code></pre>
  
  <p>I want to check "Does user2 read book1?" in mydict in template, I do the following:</p>
  
  <pre><code>{% if "user2" in mydict | get_item: "book1" %} 
  </code></pre>
  
  <p>However, i getting an error: </p>
  
  <blockquote>
    <p>Could not parse the remainder: '|' from '|'</p>
  </blockquote>
  
  <p>How do I fix it?</p>