Django will send ADMINS for 500 errors.
Reading the app-engine-patch docs, it claims to allow mail support, but I cannot say if it is enough to support 500 email.
I tried and it doesn't seem to work, but it is a silent crash without log messages, so I might have configured something incorrectly.
Does anyone have any experience with admin patch email 500 ADMINS?
Turns out I misconfigured.
BAD:
ADMINS = ['email1@example.com', 'email2@example.com']
:
ADMINS = (('name1', 'email1@example.com'), \ ('name2', 'email2@example.com'))
ADMINS.
, , - Python :
ADMINS = (('name1', 'email1@example.com'),)
, ; , , , .
DEBUG ADMIN, settings.py; SERVER_EMAIL :
DEBUG
ADMIN
settings.py
SERVER_EMAIL
DEBUG= false SERVER_EMAIL = 'a_valid_app_admin_email_address@gmail.com' ADMINS = ( ('Reporting email', 'email_that_will_received_reports@gmail.com'), )
500 .
Source: https://habr.com/ru/post/1717268/More articles:SQL ััะปะพะฒะฝัะน ะฑะธั - sqlMultithreaded programming in PHP to avoid run-time limitations - multithreadinggzdeflate () and a lot of data - phpWPF: NavigationService NULL after visiting page 2 - wpfDefine a HOST Domain Name in django Models - djangoIs it possible to authenticate using OAuth without asking a user when we have user credentials? - oauthHyper-V Snapshot Backup Strategy Suitable for SQL Server Production? - sqlCruiseControl.Net Failed Build - no explanation - cruisecontrol.netHow to track performance testing - performance-testingInclude the result of a Foreach loop in a variable in PHP? (for the mail () function) - variablesAll Articles