From: Stas Kravets Date: Mon, 11 Jul 2011 08:45:45 +0000 (+0400) Subject: Updating templates for latest syntax. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1da4cadad8cc6e551b4a61a23f5f20729423b0cb;p=django-social-auth.git Updating templates for latest syntax. --- diff --git a/example/local_settings.py.template b/example/local_settings.py.template index b0583aa..c1b37c6 100644 --- a/example/local_settings.py.template +++ b/example/local_settings.py.template @@ -11,7 +11,7 @@ GOOGLE_OAUTH2_CLIENT_SECRET = '' SOCIAL_AUTH_CREATE_USERS = True SOCIAL_AUTH_FORCE_RANDOM_USERNAME = False SOCIAL_AUTH_DEFAULT_USERNAME = 'socialauth_user' -SOCIAL_AUTH_COMPLETE_URL_NAME = 'complete' +SOCIAL_AUTH_COMPLETE_URL_NAME = 'socialauth_complete' LOGIN_ERROR_URL = '/login/error/' VKONTAKTE_APP_ID = '' VKONTAKTE_APP_SECRET = '' diff --git a/example/templates/done.html b/example/templates/done.html index 974fbec..a6e27c1 100644 --- a/example/templates/done.html +++ b/example/templates/done.html @@ -32,12 +32,6 @@ {% for name, backend in backends.oauth %}
  • {{ name|title }}
  • {% endfor %} -
  • Odnoklassniki OAuth 2.0
  • - {% if odnoklassniki %}(disconnect){% endif %} -
  • VKontakte OAuth 2.0
  • - {% if vkontakte_oauth2 %}(disconnect){% endif %} -
  • Mail.ru OAuth 2.0
  • - {% if mailru_oauth2 %}(disconnect){% endif %}

    Associate new OAuth2 credentials:

    @@ -67,7 +61,7 @@
  • -
    {% csrf_token %} + {% csrf_token %}
    @@ -51,9 +49,9 @@
  • -
  • Yandex OpenID 2.0
  • +
  • Yandex OpenID 2.0
  • -
    {% csrf_token %} + {% csrf_token %}
    @@ -68,7 +66,7 @@

    Login using other authentication systems:

    {% endblock %}