From add02262fc736fcc4d3b477a4b8c280de01cdb39 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 2 Oct 2025 12:57:55 +0200 Subject: [PATCH] Update src/pretix/helpers/database.py Co-authored-by: Richard Schreiber --- src/pretix/helpers/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/helpers/database.py b/src/pretix/helpers/database.py index 160deee2e7..1ade96ddd0 100644 --- a/src/pretix/helpers/database.py +++ b/src/pretix/helpers/database.py @@ -76,7 +76,7 @@ def repeatable_reads_transaction(): queries in READ COMMITTED mode, the results might be different for each query, causing numbers to be inconsistent with each other. - This decorator creates a transaction that is running in REPEATABLE READ mode to avoid this problem. + This context manager creates a transaction that is running in REPEATABLE READ mode to avoid this problem. **You should only make read-only queries during this transaction and not rely on quota calculations.** """