src/ldt/ldt/auth/views.py
changeset 995 94f9d36371f6
parent 63 93325a5d61f0
child 1001 c558d677ee52
equal deleted inserted replaced
968:3a4920809b46 995:94f9d36371f6
     6 
     6 
     7 def login(request, template_name='registration/login.html',
     7 def login(request, template_name='registration/login.html',
     8           redirect_field_name=REDIRECT_FIELD_NAME,
     8           redirect_field_name=REDIRECT_FIELD_NAME,
     9           authentication_form=AuthenticationForm,
     9           authentication_form=AuthenticationForm,
    10           current_app=None):
    10           current_app=None):
    11     
    11     social_img=[{"facebook" : "ldt/img/logo_facebook.png",}, {"twitter" : "ldt/img/logo_twitter.png",}, {"google" : "ldt/img/logo_google.png",}, {"yahoo" : "ldt/img/logo_yahoo.png"},]
    12     extra_context = {'social_list': social_list}
    12     extra_context = {'social_list': social_list, 'social_img' : social_img}
    13     
    13     
    14     return django_login(request, template_name, redirect_field_name, authentication_form, current_app, extra_context)
    14     return django_login(request, template_name, redirect_field_name, authentication_form, current_app, extra_context)