From ff3b2dfe507593fd225441a1ba4aab64f708c934 Mon Sep 17 00:00:00 2001 From: Flavio Curella Date: Wed, 13 Nov 2024 10:17:57 -0600 Subject: [PATCH] make error message more clear --- django/db/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/utils.py b/django/db/utils.py index 1a4173e8d2..8b1f0cbc0e 100644 --- a/django/db/utils.py +++ b/django/db/utils.py @@ -273,7 +273,7 @@ class AsyncConnectionHandler: alias = self[using] if len(alias.connections) == 0: raise ConnectionDoesNotExist( - f"There are no connections using the '{using}' alias." + f"There are no async connections using the '{using}' alias." ) return alias.connections[-1]