Skip to content

Commit

Permalink
fix reference to old/new Queryset
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 4, 2023
1 parent a6f64fc commit 8de9654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/views/qr.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def qr_current(request):
def qr_catalog(request):
i = request.user.team.current_qr_i
context = dict(first=i == 0, current=True)
context["qr"] = QrCode.codes(request.user.team).all()[
context["qr"] = QrCode.codes(request.user.team)[
: request.user.team.current_qr_i
]
return render(request, "core/qr_catalog.html", context=context)
Expand Down

0 comments on commit 8de9654

Please sign in to comment.