Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. INSTALLED_APPS += (
  2. 'social.apps.django_app.default',
  3. )
  4. AUTHENTICATION_BACKENDS += (
  5. 'social.backends.facebook.FacebookOAuth2',
  6. 'social.backends.google.GoogleOAuth2',
  7. 'social.backends.twitter.TwitterOAuth',
  8. )
  9.  
  10. SOCIAL_AUTH_USER_MODEL = AUTH_USER_MODEL
  11.  
  12. # Rausnehmen wenns Probleme mit der Auth. gibt
  13.  
  14. SOCIAL_AUTH_PIPELINE = (
  15. 'social.pipeline.social_auth.social_details',
  16. 'social.pipeline.social_auth.social_uid',
  17. 'social.pipeline.social_auth.auth_allowed',
  18. 'social.pipeline.social_auth.social_user',
  19. 'social.pipeline.user.get_username',
  20. 'social.pipeline.social_auth.associate_by_email', # <--- enable this one. to match users per email adress
  21. 'social.pipeline.user.create_user',
  22. 'social.pipeline.social_auth.associate_user',
  23. 'social.pipeline.social_auth.load_extra_data',
  24. 'social.pipeline.user.user_details',
  25. )
  26.  
  27. from sharadar.soc_auth_config import *
  28.  
  29. Exception Value:
  30. relation "social_auth_usersocialauth" does not exist
  31. LINE 1: ...er"."bio", "myauth_shruser"."email_verified" FROM "social_au...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement