错误问题
在使用Django2.2,可能会遇到以下报错,一般是项目出的问题,但是客户端没有Debug信息

解决办法
在路径site-packages/django/views下的debug.py文件

在331行,将
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open() as fh:
改为
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open(encoding="utf-8") as fh: