def login(request):
kwargs = {
'template_name': 'account/login.html',
'authentication_form': LoginForm}
return login_view(request,
extra_context={'site_name': settings.SITE_NAME,
'title': 'Autenticación'},
**kwargs)
文章目录