From bfa56b2a4317d9262ba2e14d454489b051badb84 Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Mon, 4 Dec 2023 16:46:25 -0500 Subject: [PATCH] little TODO --- core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/models.py b/core/models.py index 38d0483..589c1b3 100644 --- a/core/models.py +++ b/core/models.py @@ -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]