配置Django的userena [英] Configuring django-userena
问题描述
我的新项目,我决定使用 Django的userena
for my new project I decided to use django-userena
我跟着从 userena文档的说明。但是我得到这个错误:
I followed the instructions from userena docs. However I'm getting this error :
在SiteProfileNotAvailable /帐号/登入/
SiteProfileNotAvailable at /accounts/signin/
没有提供例外
和不知道如何解决它。请帮助!
and don't know how to fix it. Please help !
推荐答案
您通常会得到一个 SiteProfileNotAvailable
Django的时候找不到你的个人资料。作为记录在<一href=\"https://docs.djangoproject.com/en/1.3/topics/auth/#storing-additional-information-about-users\">Storing有关用户,您需要定义 AUTH_PROFILE_MODULE
来点模型您配置文件的更多信息。
You usually get a SiteProfileNotAvailable
when Django can't find your profile. As documented in the "Storing additional information about users", you need to define AUTH_PROFILE_MODULE
to point to the model of you profile.
这篇关于配置Django的userena的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!