2011-08-09 21 views
0

我把我的django項目轉移到了virtualenv。我使用pip安裝了django-social-auth庫。我複製的是在外打工的virtualenv到新的環境相同的文件,但我得到一個django-social-auth app不能在virtualenv下工作

陷入NoReverseMatch同時呈現:反轉「開始」與參數「(u'facebook」)」和關鍵字參數'{}' 未找到。

我能夠在django shell中導入social_auth庫,social_auth包含在INSTALLED_APPS中,它的url位於urls.py文件中。

我可以犯什麼錯誤?

回答

1

當您使用pip安裝django-social-auth時,則所有socialauth網址必須包含前綴「socialauth_」。問題是discussed on github