title: Django render doesn't seem to pass dictionary to template
body: <p>Update: I fixed it by uninstalling and re-installing Python/Django. Wasn't sure what was wrong. </p>
  
  <p>I am trying to print out values from a dictionary to a html template using render (also tried render_to_response) but it doesn't seem to be working. The HTML template does not recognize any of the values I tried to pass into it. </p>
  
  <p>Django code </p>
  
  <pre><code>def search(request):
      context = RequestContext(request)
  
      results2= [{'link':12, 'title':34, 'summary':56}, {'link':121, 'title':341, 'summary':561}]
  
      print results2  #is printed in command prompt, so this function is working
      return render_to_response('home.html', {'results2': results2}, context)
      #tried using render as well
  </code></pre>
  
  <p>HTML Template </p>
  
  <pre><code>{% extends "base.html" %}
  {% load staticfiles %}
  
  
      &lt;form class="form-signin span8" id="user_form" method="post" action=""&gt;
          {% csrf_token %}
          &lt;!-- Display the search form elements here --&gt;
          &lt;input type="text" size="50" name="query" value="" id="query" /&gt;
          &lt;input class="btn btn-primary" type="submit" name="submit"    value="Search" placeholder="Put Search"/&gt;
          &lt;br /&gt;
      &lt;/form&gt;        
  
      &lt;p&gt;{{results2}}&lt;/p&gt;
      &lt;p&gt;test1&lt;/p&gt;
      &lt;p&gt;{{link}}&lt;/p&gt;
      &lt;p&gt;test2&lt;/p&gt;
  
      &lt;div style="clear: both;"&gt;
          &lt;ol&gt;
          {% for result in results2 %}
              &lt;li&gt;
                  &lt;strong&gt;&lt;a href="{{ result.link }}"&gt;{{ result.title }}&lt;/a&gt;                  &lt;/strong&gt;&lt;br /&gt;
                  &lt;em&gt;{{ result.summary }}&lt;/em&gt;
              &lt;/li&gt;
          {% endfor %}
          &lt;/ol&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>In the command promp when the server is running and the function is called, it's printing 'results2', so the function 'search' is definitely working. However, the variables don't appear to be rendered. </p>
  
  <p>View source for rendered page (equivalent to what's above):</p>
  
  <pre><code>    &lt;form class="form-signin span8" id="user_form" method="post" action=""&gt;
          &lt;input type='hidden' name='csrfmiddlewaretoken' value='Y4PfA0x8jH67jWUlTJfjbMzk0EAouPrp' /&gt;
          &lt;!-- Display the search form elements here --&gt;
          &lt;input type="text" size="50" name="query" value="" id="query" /&gt;
          &lt;input class="btn btn-primary" type="submit" name="submit" value="Search" placeholder="Put Search"/&gt;
          &lt;br /&gt;
      &lt;/form&gt;
  
      &lt;p&gt;&lt;/p&gt;
      &lt;p&gt;test1&lt;/p&gt;
      &lt;p&gt;&lt;/p&gt;
      &lt;p&gt;test2&lt;/p&gt;
  
  
      &lt;p&gt;test2&lt;/p&gt;
      &lt;div style="clear: both;"&gt;
          &lt;ol&gt;
  
          &lt;/ol&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>So the list of dictionaries 'results2' is not being passed to the template. I'm not getting any errors. </p>