title: How to iterate over list of dictionary in python?
body: <p>I have a <code>list of dictionary</code> in python i.e.</p>
  
  <pre><code>listofobs = [{'timestamp': datetime.datetime(2012, 7, 6, 12, 39, 52), 'ip': u'1.4.128.0', 'user': u'lovestone'}, {'timestamp': datetime.datetime(2012, 7, 6, 12, 40, 32), 'ip': u'192.168.21.45', 'user': u'b'}]
  </code></pre>
  
  <p>I want to use all of the keys and value of <code>listofobs</code> variable in a Django-template. For example:</p>
  
  <p>For the first iteration:</p>
  
  <pre><code>timestamp = 7 july 2012, 12:39 Am
  ip = 1.4.128.0
  user = lovestone
  </code></pre>
  
  <p>and for the second iteration :</p>
  
  <pre><code> timestamp = 7 july 2012, 12:40 Am
   ip =  192.168.21.45
   user = b
  </code></pre>
  
  <p>and so on ..</p>