Skip to content

Commit

Permalink
little TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 4, 2023
1 parent 8de9654 commit bfa56b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __str__(self):
return f"{self.id} {self.short or self.location}"

@classmethod
def codes(cls, team: "Team") -> List[QrCode]:
def codes(cls, team: "Team") -> List[QrCode]: # todo: have this return an ordered QuerySet instead of a list
pks = QrCode.code_pks(team)
return [QrCode.objects.get(id=a) for a in pks]

Expand Down

0 comments on commit bfa56b2

Please sign in to comment.