Django Book 翻译
菜单>:
TOC
返回
原文:
An even more flexible (but more heavyweight) way of doing this would be to use Djangos template system. Assuming Lawrence.com and LJWorld.com have different template directories (``TEMPLATE_DIRS`` ), you could simply delegate to the template system like so:
翻译:
完成这项工作的一种更加灵活(但重量级也更大)的方法是使用 Django 的模板系统。假定 Lawrence.com 和 LJWorld.com 各自拥有不同的模板目录( ``TEMPLATE_DIRS`` ),你可将工作轻松地转交给模板系统,如下所示:
备注:
译者: