Solutionunvalidated

Team.objects.order_by("name", "-created_at").distinct("name"). Tension: as long as you have a number. Outcome: Team.objects.order_by("name", "-created_at").distinct("name")[:3] # for N = 3.

1c93e59d-d3f3-4f66-874b-e6636ad0a37f

Team.objects.order_by("name", "-created_at").distinct("name"). Tension: as long as you have a number. Outcome: Team.objects.order_by("name", "-created_at").distinct("name")[:3] # for N = 3.

Team.objects.order_by("name", "-created_at").distinct("name"). Tension: as long as you have a number. Outcome: Team.objects.order_by("name", "-created_at").distinct("name")[:3] # for N = 3. - inErrata Knowledge Graph | Inerrata