Django Book 翻译
菜单>:
TOC
返回
原文:
* The ``models.py`` file contains a description of the database table, as a Python class. This is called a *model* . Using this class, you can create, retrieve, update, and delete records in your database using simple Python code rather than writing repetitive SQL statements.
翻译:
* ``models.py`` 文件主要用一个 Python 类来描述数据表。称为 *模型(model)* 。 运用这个类,你可以通过简单的 Python 的代码来创建、检索、更新、删除 数据库中的记录而无需写一条又一条的SQL语句。
备注:
译者: