title: Comparing django template strings
body: <p>The value of word_group.group and w.group is "Test 1"</p>
  
  <p>However, the following output for: </p>
  
  <pre><code>{% for w in words %}
       {% for word_group in word_groups %}
          {% if word_group.group == w.group %}
              True
          {% else %}
              {{word_group.group}} : {{w.group}}
          {% endif %} 
       {%endfor%}
  {%endfor%}
  </code></pre>
  
  <p>is: "Test 1" : "Test 1"</p>
  
  <p>why is the if comparison failing? </p>