文章分类 -  QA

django各种问题解决
摘要:一、django模板报错Requested setting TEMPLATE_DEBUG, but settings are not configured. You must either definedjango模板报错Requested setting TEMPLATE_DEBUG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing setti 阅读全文

posted @ 2013-09-04 23:01 CoolRandy 阅读(825) 评论(0) 推荐(0)

What is “\00” in Python?
摘要:up vote0down votefavoriteWhat does "\00" mean in Python? To learn more about this, I tried following:When I assignd="\00"and callprint d, nothing displays on the screen.I also tried assigningdto a string with extra spacing between and at the end and then calledd.replace("\00 阅读全文

posted @ 2013-08-10 12:12 CoolRandy 阅读(740) 评论(0) 推荐(0)