virtualenv/web/res/patch/django_contrib_auth_views.diff
changeset 0 87104b7cb3d6
equal deleted inserted replaced
-1:000000000000 0:87104b7cb3d6
       
     1 --- Django-1.3/django/contrib/auth/views.py.OLD	jeu. avr. 14 15:48:14 2011
       
     2 +++ Django-1.3/django/contrib/auth/views.py	jeu. avr. 14 15:48:32 2011
       
     3 @@ -18,6 +18,9 @@
       
     4  from django.contrib.auth.tokens import default_token_generator
       
     5  from django.contrib.sites.models import get_current_site
       
     6  
       
     7 +#CHANGE BY TC FOR IRI'S PLATFORM
       
     8 +from social_auth.views import list as social_list
       
     9 +#END TC
       
    10  
       
    11  @csrf_protect
       
    12  @never_cache
       
    13 @@ -63,6 +66,7 @@
       
    14          redirect_field_name: redirect_to,
       
    15          'site': current_site,
       
    16          'site_name': current_site.name,
       
    17 +        'social_list': social_list
       
    18      }
       
    19      context.update(extra_context or {})
       
    20      return render_to_response(template_name, context,