如果要使用 Django 实时模板,请确保在 设置/偏好设置 | 语言和框架 | 模板语言 对话框中将 Django 选择为默认模板语言:

Select Django as the default template language