diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f2317304d..40a1516719 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,6 +120,8 @@ jobs: - name: Run end-to-end tests run: pytest -p randomly -p no:cacheprovider --reuse-db -m e2e if: matrix.python-version == '3.11' && matrix.db-backend == 'postgres' + env: + DJANGO_DEBUG: True coveralls: name: Indicate completion to coveralls diff --git a/testing/config/settings/base.py b/testing/config/settings/base.py index 270ec4ea20..e39edf6c80 100644 --- a/testing/config/settings/base.py +++ b/testing/config/settings/base.py @@ -2,7 +2,7 @@ from django.utils.translation import gettext_lazy as _ -DEBUG = False +DEBUG = os.getenv("DJANGO_DEBUG", False) == "True" TEMPLATE_DEBUG = False DEBUG_LOGGING = False