]> git.parisson.com Git - django-social-auth.git/commitdiff
Foursquare links on example page
authorMatías Aguirre <matiasaguirre@gmail.com>
Thu, 19 May 2011 15:21:12 +0000 (12:21 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Thu, 19 May 2011 15:21:12 +0000 (12:21 -0300)
example/templates/done.html
example/templates/home.html

index b057342ed3d1d196ec30f2975202ce10b2b265c8..2b67f3df5488dd58e2487f4071a523fdc2e5199a 100644 (file)
       <a rel="nofollow" href="{% url associate_begin "google-oauth2" %}">Google OAuth2</a>
       {% if google_oauth2 %}<span class="disconnect">(<a href="{% url disconnect "google-oauth2" %}">disconnect</a>)</span>{% endif %}
     </li>
+    <li>
+      <a rel="nofollow" href="{% url associate_begin "foursquare" %}">Foursquare</a>
+      {% if foursquare %}<span class="disconnect">(<a href="{% url disconnect "foursquare" %}">disconnect</a>)</span>{% endif %}
+    </li>
   </ul>
 
   <h3>Associate new OpenID credentials:</h3>
index d778d83364bdd36256d8f8fdbbfa1cb5f49c7a27..8555a50ac347f6f252e05d1b3c4d3a8fbbae35f7 100644 (file)
@@ -18,6 +18,7 @@
   <h3>Login using <a href="http://tools.ietf.org/html/draft-ietf-oauth-v2-10" title="OAuth2">OAuth2</a> from:</h3>
   <ul>
     <li><a rel="nofollow" href="{% url begin "google-oauth2" %}">Google OAuth2</a></li>
+    <li><a rel="nofollow" href="{% url begin "foursquare" %}">Foursquare</a></li>
   </ul>
 </div>