virtualenv/web/res/patch/django_contrib_auth_views.diff
author grandjoncl
Thu, 11 Oct 2012 16:39:05 +0200
changeset 842 ca38abd140b3
parent 57 795f01224eef
permissions -rw-r--r--
Corrections of the code for the embed popup. Functions are now in the embed_popup.js With chrome the player used to play the video even when it wasn't supposed to be displayed and kept playing when we hid the player. When we changed between div and iframe the player started even when it was suppose to be hidden. It's now solved.

--- 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,