如何在Django 1.8中将模板激活到2.1

时间:2019-01-29 23:45:32

标签: python-3.x django-templates

TEMPLATE_DIRS =(

os.path.join(BASE_DIR, 'templates'),
os.path.join(BASE_DIR + 'templates'),
os.path.join(BASE_DIR, '/webSiteManager', '/templates', '/webSiteManager'

) 我尝试过用这些行激活模板,但是它不起作用。

0 个答案:

没有答案