2017-10-27 5 views
1

Django 1.11とPython 3.6を使用してsocial_authモジュールをdjango_socialに移行しようとしたときに問題が発生しました。私はDjango 1.11とPython 3.6を使用してsocial_authを移行する

from social_auth.signals import pre_update, socialauth_registered 
from social_auth.backends.facebook import FacebookBackend 
from social_auth.backends.twitter import TwitterBackend 

を使用して、私のmodels.pyファイルにいくつかのモデルを持っているが、私は、彼らが推奨されていませんdjango_social

social_auth.signalsと同等のを見つけることができませんか?新しいバージョンがありますか?

答えて

2

以前のリビジョンのsignals.pyファイルによると、シグナルは廃止され、使用されなくなったようです。

# This module is deprecated, this signals aren't used by the code anymore 
# and it's functionality should be replaced by pipeline methods. 
+0

私は、新しいパイプライン方式のチェックよ、ありがとう – AngelRuizC

関連する問題