According to this SO post: 根据这篇SO帖子: How to check the TEMPLATE_DEBUG flag in a django template?How to 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交