一.问题在构建网站的时候我们会用到全局的templates处理错误的网页,此时我们需要对urls进行一个映射,使得在使用的时候避免重复调用.在使用的时候还会产生错误代码:第一个是404界面的,第二个是500界面的(Django:2.2.2) ?: (urls.E007) The custom handler404 view 'index.views.page_not_found' does not take the correct number of arguments (request, ex…