How to get multiple rows values in single row using dict and list
<p>I have a django model ReportDashboard, that have multiple row for same report based on date and time. I want put in single result which have report Name as Key of dictionary and values are list of all updated_on from other rows.</p>

<pre><code>"""Required OUTPUT"""
{'Daily Pickup':[2016-04-19 11:48:00,2016-04-18 11:40:00, 2016-04-17 10:30:00]} 
{'Surface MIS LHRTO':[2016-04-19 11:52:00, DATE2,DATE3,DATE4,DATE5, SO ON]}
{...........}
{...........}
</code></pre>

<p><strong>Django Model</strong></p>

<pre><code>repo=ReportDashboard.objects.filter(status=2)
for r in repo:
    print r.report_name, r.updated_on
</code></pre>

<p><strong>Output</strong></p>

<pre><code>Daily Pickup 2016-04-19 11:48:00
Surface MIS LHRTO 2016-04-19 11:52:00
Daily Pickup 2016-04-18 11:40:00
Daily Pickup 2016-04-17 10:30:00
</code></pre>