Django Book 翻译
菜单>:
TOC
返回
原文:
Sure, that uses the template system, but it doesnt solve the problems we pointed out in the introduction of this chapter. Namely, the template is still embedded in the Python code. Lets fix that by putting the template in a *separate file* , which this view will load.
翻译:
没错,它确实使用了模板系统,但是并没有解决我们在本章开头所指出的问题。也就是说,模板依然内嵌在 Python 代码之中。让我们将模板置于一个 *单独的文件* 中,并且让视图加载该文件来解决此问题。
备注:
译者: