title: Django 'dict' object has no attribute 'user_id'
body: <p>I get the following error <strong>'dict' object has no attribute 'user_id'</strong> but not sure I understand the error. Since user_id is available from the queryset.</p>
  
  <p>Error happens at the last line of code</p>
  
  <pre><code>users_who_played = UserEvent.objects\
              .values('user_id')\
              .annotate(total_season_points=Sum('points'))\
              .filter(event__season_id=season.id)\
              .order_by('-total_season_points')\
  
      for i, user_who_played in enumerate(users_who_played):
  
          try:
              user = UserSeason.objects.
                     get(user=user_who_played.user_id, season=season.id)
  </code></pre>