Re:Re: Django doesn't email reporting an internal server error (HTTP status code 500)

2016-12-30 Thread Zhao Lee
| Thanks, SERVER_EMAIL is essential to this problem , I've written a article about the problem, learn more | http://redstoneleo.blogspot.com/2016/12/email-reporting-exceptions-and-errors_30.html 在 2016-12-29 16:20:17,"Luis Zárate" 写道: try to change de django loggin https://docs.djangopr

Re:using HTTPHandler cause Django server side shows http 400 and Invalid HTTP_HOST header message

2017-04-10 Thread Zhao Lee
No, that would cause the following exception --- Logging error --- Traceback (most recent call last): File "C:\Users\i\AppData\Local\Programs\Python\Python35-32\lib\http\client.py", line 798, in _get_hostport port = int(host[i+1:]) ValueError: invalid literal for int() with base 10: '//e