Skip to content

Commit 0068311

Browse files
committed
Fixing for Django 1.9.
Importing getLogger via django.utils.log was just importing logging.getLogger by proxy. Code changes in Django 1.9 break the import.
1 parent d050baf commit 0068311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readonly/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from django.db.backends import util
1414
else:
1515
from django.db.backends import utils as util
16-
from django.utils.log import getLogger
16+
from logging import getLogger
1717

1818
from readonly.exceptions import DatabaseWriteDenied
1919

0 commit comments

Comments
 (0)