<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muthu mani</title>
    <description>The latest articles on DEV Community by Muthu mani (@muthuma64813693).</description>
    <link>https://dev.to/muthuma64813693</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1190683%2F5bc7e92d-a016-49d3-bd1a-d3a3d131fae4.jpg</url>
      <title>DEV Community: Muthu mani</title>
      <link>https://dev.to/muthuma64813693</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/muthuma64813693"/>
    <language>en</language>
    <item>
      <title>Efficient way of rank update based on points</title>
      <dc:creator>Muthu mani</dc:creator>
      <pubDate>Sat, 21 Oct 2023 11:01:13 +0000</pubDate>
      <link>https://dev.to/muthuma64813693/efficient-way-of-rank-update-based-on-points-1imd</link>
      <guid>https://dev.to/muthuma64813693/efficient-way-of-rank-update-based-on-points-1imd</guid>
      <description>&lt;p&gt;User_team=User_team.objects.filter().values(),&lt;/p&gt;

&lt;p&gt;User_team=[{team_id:1, points:50},{team_id:2, points:30},{team_id:3, points:70}]&lt;/p&gt;

&lt;p&gt;I already migrate New model and key is (rank,point) stored rank and points in this model.&lt;/p&gt;

&lt;p&gt;User_team_event=User_team_event.objects.filter().values().&lt;br&gt;
I'm expecting answer is without using loops:&lt;/p&gt;

&lt;p&gt;User_team_event=[{team_id:3,rank:1, points:70},{team_id:1,rank:2, points:50},{team_id:2, points:30}]&lt;/p&gt;

</description>
      <category>python</category>
      <category>django</category>
      <category>restapi</category>
    </item>
  </channel>
</rss>
