From fb7a415311c4d91ef8fd8a4f91d6d5780e74c381 Mon Sep 17 00:00:00 2001 From: ruslan33 Date: Thu, 2 Jan 2025 20:56:35 +0100 Subject: [PATCH] Bug fix (#39) --- nopayloaddb/db_router.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nopayloaddb/db_router.py b/nopayloaddb/db_router.py index e8e8cf8..406dd45 100644 --- a/nopayloaddb/db_router.py +++ b/nopayloaddb/db_router.py @@ -1,8 +1,6 @@ import random from nopayloaddb.middleware import get_current_request -logger = logging.getLogger(__name__) - class ReadWriteRouter: def db_for_read(self, model, **hints): """Route read queries to one of the read databases."""