摘要:
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 阅读全文