From 8ce09b16b52561e6f74da678d55ea25a4217a3a5 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 26 Aug 2024 15:49:25 -0400 Subject: [PATCH] Add some debug prints to qr --- core/views/qr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/views/qr.py b/core/views/qr.py index add0f8c..52cc485 100644 --- a/core/views/qr.py +++ b/core/views/qr.py @@ -126,6 +126,8 @@ def qr(request, key): context = dict(first=False) codes = QrCode.code_pks(request.user.current_team) qr_code: QrCode | None = QrCode.objects.filter(key=key).first() + print(type(request.user)) + print(dir(request.user)) if request.user.can_debug: return redirect(qr_code.get_admin_url()) context["qr_code"]: QrCode