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 7263d06 commit d18a71bCopy full SHA for d18a71b
docs/database.rst
@@ -370,6 +370,8 @@ Put this into ``conftest.py``::
370
371
@pytest.fixture(scope='session')
372
def django_db_setup():
373
+ from django.conf import settings
374
+
375
settings.DATABASES['default'] = {
376
'ENGINE': 'django.db.backends.mysql',
377
'HOST': 'db.example.com',
0 commit comments