Django Book 翻译
菜单>:
TOC
返回
原文:
Next, youll need to tell Django where to look for this profile object. You do that by setting the ``AUTH_PROFILE_MODULE`` setting to the identifier for your model. So, if your model lives in an application called ``myapp`` , youd put this in your settings file:
翻译:
下一步,你需要告诉Django去哪里查找档案对象。你可以通过设置模型中的 ``AUTH_PROFILE_MODULE`` 变量达到这个目的。因此,如果你的模型包含在 ``myapp`` 这个应用中,你就需要如下编写你的设置文件:
备注:
译者: