Skip to content

Commit

Permalink
Set up email error reporting on test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmihalik committed Dec 15, 2024
1 parent 567bef6 commit fba767b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": [
"runserver",
"--ipv6"
"runserver"
],
"django": true,
"justMyCode": true
"justMyCode": false
}
]
}
9 changes: 8 additions & 1 deletion webstrom/settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .settings import *

DEBUG = True
DEBUG = False

ALLOWED_HOSTS = [
"localhost",
Expand Down Expand Up @@ -31,3 +31,10 @@
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_TIMEOUT = 10

SERVER_EMAIL = DEFAULT_FROM_EMAIL

ADMINS = [
("Martin Mihálik", "[email protected]"),
("Peter Kovács", "[email protected]"),
]

0 comments on commit fba767b

Please sign in to comment.