From: Stas Kravets Date: Mon, 4 Jul 2011 07:59:23 +0000 (+0400) Subject: Merge remote branch 'upstream/master' X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a7dbeae14c3f345bbcaad024f80571e499b66461;p=django-social-auth.git Merge remote branch 'upstream/master' Conflicts: example/templates/done.html example/templates/home.html --- a7dbeae14c3f345bbcaad024f80571e499b66461 diff --cc example/app/views.py index 2977d74,8033c23..11d2b38 --- a/example/app/views.py +++ b/example/app/views.py @@@ -6,7 -6,9 +6,8 @@@ from django.template import RequestCont from django.shortcuts import render_to_response from social_auth import __version__ as version + from social_auth.backends import BACKENDS, OpenIdAuth, BaseOAuth, BaseOAuth2 - def home(request): """Home view, displays login mechanism""" if request.user.is_authenticated(): diff --cc example/templates/done.html index e2279d7,1c99150..974fbec --- a/example/templates/done.html +++ b/example/templates/done.html @@@ -16,82 -16,52 +16,69 @@@
-

Associate new OAuth credentials:

+ {% if accounts %} +

Disconnect accounts

+ {% endif %} -

Associate new OAuth2 credentials:

+

Associate new OAuth credentials:

-

Associate new OpenID credentials:

+

Associate new OAuth2 credentials:

+ +

Associate new OpenId credentials:

+