title: Django development - how to access model results correctly
body: <p>Ok forgive me if this is a bit of a noddy question but i can't find a example online. I'm a PHP dev converting to Django from Codeigniter. I'm calling a model i have made like thus;</p>
  
  <pre><code>if request.method == 'GET':
      for e in Ratecard.objects.filter(reportSuite=region):
          suite = e.reportSuite
          RP_UniqueUsers = e.RP_UniqueUsers
          RP_PageImpressions = e.RP_PageImpressions
          RP_TimeSpent = e.RP_TimeSpent
          RP_PageViewPerVisit = e.RP_PageViewPerVisit
          HP_PageImpressions = e.HP_PageImpressions
          HP_UniqueUsers = e.HP_UniqueUsers
          HP_TimeSpent = e.HP_TimeSpents
  
  
  
  return render_to_response('rates.html', locals())
  </code></pre>
  
  <p>In this example 'region' is set from a GET param. My problem is that if i then try to access suite from my template i get nothing out of it. {{ region }} doesn't print any result.</p>
  
  <p>What is the correct way of accessing this data both in the view and in the template?</p>