摘要:
在终端使用模板from django import templatet = template.Template('My name is {{ name }}.')提示错误Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/2.7/site-packages/django/template/base.py", line 123, in __init__ if settings.TEMP 阅读全文