title: Django template: {% if 5 in ['4', '3', '5'] %} doesn't work
body: <p>form.tickets.value has the values <code>['29', '4', '7']</code>
  ticket_id has values such as 5, 3, 7 etc.</p>
  
  <p>Now I want to print YES if 7 exist in the list. But it always says 'No'. Anyone can tell me why?</p>
  
  <pre><code>{% if ticket_id in form.tickets.value %}
      YES
  {% else %}
      {{ ticket_id }} not in {{ form.tickets.value }}
  {% endif %}
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/dnXGY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dnXGY.png" alt="Example"></a></p>