Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- url(r'social-auth/', include('social_django.urls', namespace='social')),
- {% for name in social_auth.backends.oauth %}
- <li><a rel="nofollow" href="{% url "socialauth_begin" %}">{{ name|title }}</a></li>
- {% endfor %}
- AUTHENTICATION_BACKENDS = (
- 'social_core.backends.open_id.OpenIdAuth', # for Google authentication
- 'social_core.backends.google.GoogleOpenId', # for Google authentication
- 'social_core.backends.google.GoogleOAuth2', # for Google authentication
- 'django.contrib.auth.backends.ModelBackend',
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement