title: django template tag - comparing two variables
body: <pre><code>{% if firstpass != secondpass %}
          errors.append('Passwords are not the same')
  </code></pre>
  
  <p>I am trying to make a page where users can change their personal information. This one in particular pertains to checking whether the password textbox (firstpass) and password re-entering textbox (secondpass) contain the same password. For some reason, I am getting a compiler error on the line with the != sign. Can anyone suggest why? : (</p>