using django-allauth

后端 未结 1 1553
心在旅途
心在旅途 2021-01-05 21:49

i am having trouble using django-allauth. I am getting this error.

NoReverseMatch at /accounts/login/ Reverse for \'facebook_channel\' with arguments \'()\' and key

相关标签:
1条回答
  • 2021-01-05 22:17

    Just faced and solved the same problem. You need to install the Facebook SDK egg, which django-allauth relies on, i.e.:

    pip install -e git://github.com/pythonforfacebook/facebook-sdk.git#egg=facebook-sdk
    

    (By the way, if you are using Django 1.4, you will run into a runtime error when confirming email addresses due to django-allauth not using the new timezone-aware dates. The quick-fix is to set

    USE_TZ = False
    

    in your settings.py.)

    0 讨论(0)
提交回复
热议问题