配置django-userena [英] Configuring django-userena
本文介绍了配置django-userena的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
对于我的新项目,我决定使用 django-userena
for my new project I decided to use django-userena
我遵循了 userena docs 的说明。但是我收到这个错误:
I followed the instructions from userena docs. However I'm getting this error :
SiteProfileNotAvailable at / accounts / signin /
SiteProfileNotAvailable at /accounts/signin/
没有异常提供
,不知道如何解决它。请帮助!
and don't know how to fix it. Please help !
推荐答案
当Django可以'通常会得到一个 SiteProfileNotAvailable
找到你的个人资料如存储有关用户的其他信息 ,您需要定义 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屋!
查看全文