Django Book 翻译
菜单>:
TOC
返回
原文:
In a nutshell, many sites need to store more user information than is available on the standard ``User`` object. To compound the problem, most sites will have different extra fields. Thus, Django provides a lightweight way of defining a profile object thats linked to a given user. This profile object can differ from project to project, and it can even handle different profiles for different sites served from the same database.
翻译:
简单来说,许多网站需要存储比标准 ``User`` 对象更多的用户信息。为了解决这个问题,大多数网站都会有不同的额外字段。所以,Django提供一个轻量级的方式定义档案对象链接到指定的用户。这个档案对象在每个项目中可以是不同的,甚至可以为同一数据库服务的不同的站点处理不同的档案。
备注:
译者: