摘要: 1.TEMPLATE_DIRS relative to the project folderhttp://stackoverflow.com/questions/9856683/using-pythons-os-path-how-do-i-go-up-one-directoryWhen developing with Django we need to specify our templates directory inside the settings.py with the TEMPLATE_DIRS directive. When it comes to deploying or pub 阅读全文
posted @ 2013-08-26 17:44 CoolRandy 阅读(488) 评论(0) 推荐(0) 编辑