Django Book 翻译
菜单>:
TOC
返回
原文:
In this example view, we use the ``MySQLdb`` library (available at `http://www.djangoproject.com/r/python-mysql/`_) to connect to a MySQL database, retrieve some records, and feed them to a template for display as a Web page:
翻译:
在本例的视图中,我们使用了 ``MySQLdb`` 类库(可以从 `http://www.djangoproject.com/r/python-mysql/`_ 获得)来连接 MySQL 数据库,取回一些记录,将它们提供给模板以显示一个网页:
备注:
译者: