equal
deleted
inserted
replaced
1 from django.contrib.auth import REDIRECT_FIELD_NAME |
1 from django.contrib.auth import REDIRECT_FIELD_NAME |
2 from django.contrib.auth.forms import AuthenticationForm |
2 from django.contrib.auth.forms import AuthenticationForm |
3 from django.contrib.auth.views import login as django_login |
3 from django.contrib.auth.views import login as django_login |
4 from social_auth.views import list as social_list |
4 from ldt.auth import social_list |
5 |
|
6 |
5 |
7 def login(request, template_name='registration/login.html', |
6 def login(request, template_name='registration/login.html', |
8 redirect_field_name=REDIRECT_FIELD_NAME, |
7 redirect_field_name=REDIRECT_FIELD_NAME, |
9 authentication_form=AuthenticationForm, |
8 authentication_form=AuthenticationForm, |
10 current_app=None): |
9 current_app=None): |