Django Book 翻译
菜单>:
TOC
返回
原文:
In Chapter 3, we covered the fundamentals of building dynamic Web sites with Django: setting up views and URLconfs. As we explained, a view is responsible for doing *some arbitrary logic* , and then returning a response. In the example, our arbitrary logic was to calculate the current date and time.
翻译:
在第三章,我们讲述了用 Django 建造网站的基本途径:建立视图和 URLConf 。正如我们所阐述的,视图负责处理 *一些任意逻辑* ,然后返回响应结果。在范例中,我们的任意逻辑就是计算当前的日期和时间。
备注:
译者: