报错如下:
解决方案:
第331行:
修改成:
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open(encoding='utf-8') as fh:
重新执行django启动命令:
报错如下:
解决方案:
第331行:
修改成:
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open(encoding='utf-8') as fh:
重新执行django启动命令: