title: if condition inside html
body: <p>I am new in <code>django</code>. Here I'm try to do a poll app using <code>django</code> .
  I want to display '<strong>you entered correct</strong>'</p>
  
  <pre><code>if selected_choice='Yellow'
  </code></pre>
  
  <p>Here is my code</p>
  
  <pre><code>def results(request, question_id):
      question = get_object_or_404(Question, pk=question_id)
      try:
          selected_choice = question.choice_set.get(pk=request.POST['choice'])
      except (KeyError, Choice.DoesNotExist):
      # Redisplay the question voting form.
          return render(request, 'polls/detail.html', {
          'question': question,
          'error_message': "You didn't select a choice.",
      })
      else:
  
          selected_choice.votes += 1
          selected_choice.save()
          context_dict={}
          context_dict['selected_choice']=selected_choice
          context_dict['question']=question
  
          return render(request, 'polls/result.html', context_dict)
  </code></pre>
  
  <p>html file</p>
  
  <pre><code>&lt;h1&gt;{{ question.question_text }}&lt;/h1&gt;
  {% if selected_choice  %}
      {% if 'Yellow' %}
  
      &lt;p&gt; you entered correct &lt;/p&gt;
      {% endif %}
  
  {% endif %}
  
  
  &lt;ul&gt;
  {% for choice in question.choice_set.all %}
  &lt;li&gt;{{ choice.choice_text }} -- {{ choice.votes }} vote{{     choice.votes|pluralize }}&lt;/li&gt;
  {% endfor %}
  &lt;/ul&gt;
  </code></pre>