Skip to content

Commit

Permalink
chore: enable debug mode per env, default false
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Oct 5, 2023
1 parent 22557e9 commit 0462838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion testing/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0462838

Please sign in to comment.