Skip to content

Commit

Permalink
Bug fix (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslan33 authored Jan 2, 2025
1 parent 8f4e7a0 commit fb7a415
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nopayloaddb/db_router.py
Original file line number Diff line number Diff line change
@@ -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."""
Expand Down

0 comments on commit fb7a415

Please sign in to comment.