virtualenv/web/res/patch/django_contrib_auth_views.diff
author verrierj
Wed, 04 Jan 2012 17:28:54 +0100
changeset 330 806188af5027
parent 57 795f01224eef
permissions -rw-r--r--
Projects have an icon identical to one of the media they contain, if this icon is different from the default icon. Icons can be set using ./manage.py setprojecticon once icons have been added to contents.

--- Django-1.3/django/contrib/auth/views.py.OLD	jeu. avr. 14 15:48:14 2011
+++ Django-1.3/django/contrib/auth/views.py	jeu. avr. 14 15:48:32 2011
@@ -18,6 +18,9 @@
 from django.contrib.auth.tokens import default_token_generator
 from django.contrib.sites.models import get_current_site
 
+#CHANGE BY TC FOR IRI'S PLATFORM
+from social_auth.views import list as social_list
+#END TC
 
 @csrf_protect
 @never_cache
@@ -63,6 +66,7 @@
         redirect_field_name: redirect_to,
         'site': current_site,
         'site_name': current_site.name,
+        'social_list': social_list
     }
     context.update(extra_context or {})
     return render_to_response(template_name, context,