Django Book 翻译
菜单>:
TOC
返回
原文:
You can specify any directory you want, as long as the directory and templates within that directory are readable by the user account under which your Web server runs. If you cant think of an appropriate place to put your templates, we recommend creating a ``templates`` directory within your Django project (i.e., within the ``mysite`` directory you created in Chapter 2, if youve been following along with this books examples).
翻译:
你可以任意指定想要的目录,只要运行 Web 服务器的用户账号可以读取该目录的子目录和模板文件。如果实在想不出合适的位置来放置模板,我们建议在 Django 项目中创建一个 ``templates`` 目录(也就是说,如果你一直都按本书的范例操作的话,在第二章创建的 ``mysite`` 目录中)。
备注:
译者: