Reputation: 59
I had this error when I tried to sign in using github auth backend
No module named social_auth.backends.contrib.github
settings.py
AUTHENTICATION_BACKENDS = (
'social_auth.backends.contrib.github.GithubBackend',
'django.contrib.auth.backends.ModelBackend',
)
Upvotes: 2
Views: 2076
Reputation: 17526
It should be
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'social.backends.github.GithubOAuth2',
)
Upvotes: 2