Skip to content

Commit

Permalink
More debug (STOCD#76)
Browse files Browse the repository at this point in the history
* New Upload v2 API

* Updated Requirements

* Updated Ladder Template

* Remove Any Log Entries from Results

* Custom Invite API

* Player not Name

* Try again

* Fun?

* More debug
  • Loading branch information
Kraust authored Sep 2, 2024
1 parent 1e7a8d3 commit 29fd18d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ladder/views/ladder_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class LadderInvitesView(FilterView):
model = LadderEntry
filter_backends = (BaseFilterBackend, OrderingFilter)
filterset_class = LadderEntryFilter
ordering = "-data__DPS"

def get_queryset(self):
return (
Expand All @@ -93,5 +94,6 @@ def get_queryset(self):
],
)
.exclude(ladder__difficulty="Any")
.order_by("-data__DPS")
.distinct("player", "ladder__difficulty")
)

0 comments on commit 29fd18d

Please sign in to comment.