title: Django: href {% url %} issue
body: <p>Why does</p>
  
  <pre><code>&lt;a href="{% url 'answers.views.display_answers' Question.id %}"&gt;View answers&lt;/a&gt;
  </code></pre>
  
  <p>in my template translate to this interpretation by Django:</p>
  
  <pre><code>Request URL:    http://127.0.0.1:8000/questions/%7B%%20url%20'answers.views.display_answers'%20Question.id
  </code></pre>
  
  <p>which of course leads to an url mismatch error.</p>
  
  <p>Seems like its reading in my '{' in ASCII form. Can anyone enlighten me as to why it is so?</p>
  
  <p>EDIT:</p>
  
  <p>This was how i rendered the template--</p>
  
  <pre><code>return render(request, 'display_questions.html', context) 
  </code></pre>
  
  <p>and the template contains the href. My display answer view redirects to another view as such: </p>
  
  <pre><code>def display_answers(request, q_id): 
          q = get_object_or_404(Question, id=q_id) 
          ans_list = Answer.objects.filter(question=q) 
          context = {'question': q, 'ans_list': ans_list} 
          return redirect('view_answers.html', context)
  </code></pre>
  
  <p>Error:</p>
  
  <p>The current URL, questions/{% url 'answers.views.display_answers' Question.id, didn't match any of these.</p>