loader.get_template(template_name) # You need to create a 500.html template
来源:互联网 发布:win7系统查看mac地址 编辑:程序博客网 时间:2024/05/18 17:59
大家在使用apache+mod_python的时候在目录/var/www添加了404.html和500.html,以及在Settings.py中的dubug=flase,但是当View中抛出异常后,去加载template就会报出:
loader.get_template(template_name) # You need to create a 500.html template
最省劲的解决方法:在你的template根目录下,添加一个500.html,就可以了。
- loader.get_template(template_name) # You need to create a 500.html template
- 25.You need to create a table with the following column specifications:
- 1Z0-051 25. You need to create a table with the following column specifications:
- Your Apple ID account is also attached to other iTunes providers. You will need to create a new user
- Things you need to remember to become a successful developer
- 22.You need to create a table for a banking application. One of the columns in the table has the fol
- What you need to extend as a osworkflow developer
- You need to install a terminal library; for example ncurses.
- you need to use a theme.appcompat theme的解决方法
- iOS开发:[!] You need to register a session first.
- You need to use a Theme.AppCompat theme的解决方案
- you need a c compiler to build uwsgi
- ubuntu : you may need to re-run your boot loader[grub] 解决办法
- You may need an appropriate loader to handle this file type
- Steps to create a new Google Data Template
- [XCode] How to create a Xcode project template
- linux you need to know
- If you need a pen
- pl/sql 写冒泡排序
- ASP.NET 学习路线图
- 最近新事
- jdk环境变量问题
- 程序员需要那些具备最基础的知识和技能
- loader.get_template(template_name) # You need to create a 500.html template
- C/C++读写Excel表格文件
- [转贴精华]《新概念》英语学习方法完全手册-学新概念英语必读
- linux卸载r8169网卡驱动
- Excel表格的25招必学秘技
- Android 借签文章
- VC技巧之水平滚动条
- 求两个整数的最大公约数
- 水晶报表 自定义打印纸张