关于Django的模板文件的路径设置templates

先上代码在说话python 'BACKEND':'django.template.backends.DjangoTemplates', 'DIRS':[os.path.join(BASE_DIR,'templates')], 'APP_DIRS':True, 'OPTIONS':{ 'context_processors':[ 'django.template.cont
相关文章
相关标签/搜索