We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b1e13 commit 1a8bfe2Copy full SHA for 1a8bfe2
pytest_django/compat.py
@@ -1,6 +1,4 @@
1
# This file cannot be imported from until Django sets up
2
-from django.db.backends.base.base import BaseDatabaseWrapper
3
-
4
try:
5
# Django 1.11
6
from django.test.utils import setup_databases, teardown_databases # noqa
pytest_django/plugin.py
@@ -600,7 +600,7 @@ def __init__(self):
600
601
@property
602
def _dj_db_wrapper(self):
603
- from .compat import BaseDatabaseWrapper
+ from django.db.backends.base.base import BaseDatabaseWrapper
604
605
# The first time the _dj_db_wrapper is accessed, we will save a
606
# reference to the real implementation.
0 commit comments