Skip to content

Commit

Permalink
fix reference to django.db.utils
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelic committed Apr 11, 2024
1 parent 0a65ecc commit 40dd61d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django_dbconn_retry/apps.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging

from django.apps.config import AppConfig
from django.db import utils as django_db_utils
from django.db.backends.base import base as django_db_base
from django.dispatch import Signal

Expand All @@ -16,7 +15,7 @@

_operror_types = () # type: Union[Tuple[type], Tuple]
database_modules = [
("django_db_utils", "OperationalError"),
("django.db.utils", "OperationalError"),
("psycopg2", "OperationalError"),
("psycopg", "OperationalError"),
("sqlite3", "OperationalError"),
Expand Down

0 comments on commit 40dd61d

Please sign in to comment.