Skip to content

Commit

Permalink
change setting
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Nov 7, 2024
1 parent 8a48bb4 commit 7646bc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run Trivy vulnerability scanner
continue-on-error: true # due to getting TOOMANYREQUESTS
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ vars.DOCKERHUB_ORGANIZATION }}/hope-support-images:country-report-${{ github.sha }}'
Expand Down
1 change: 1 addition & 0 deletions src/hope_country_report/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Group(Enum):
"https://django-environ.readthedocs.io/en/latest/types.html#environ-env-db-url",
),
"DEBUG": (bool, False, setting("debug")),
"DEFAULT_FROM_EMAIL": (str, ""),
"FILE_STORAGE_DEFAULT": (
str,
"django.core.files.storage.FileSystemStorage",
Expand Down
2 changes: 1 addition & 1 deletion src/hope_country_report/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
SIGNING_BACKEND = env("SIGNING_BACKEND")

CATCH_ALL_EMAIL = env("CATCH_ALL_EMAIL", default="")
DEFAULT_FROM_EMAIL = "[email protected]"
DEFAULT_FROM_EMAIL = env("DEFAULT_FROM_EMAIL")
EMAIL_BACKEND = env("EMAIL_BACKEND")
EMAIL_HOST = env("EMAIL_HOST")
EMAIL_HOST_USER = env("EMAIL_HOST_USER")
Expand Down

0 comments on commit 7646bc2

Please sign in to comment.