'Displays the login form for the given HttpRequest.'

@never_cache
def login(self, request, extra_context=None):

    from django.contrib.auth.views import login
    context = {'title': _('Log    in'), 'root_path': self.root_path, 'app_path': request.get_full_path(), REDIRECT_FIELD_NAME: request.get_full_path()}
    context.update((extra_context or {}))
    defaults = {'extra_context': context, 'current_app': self.name, 'authentication_form': (self.login_form or AdminAuthenticationForm), 'template_name': (self.login_template or 'admin/login.html')}
    return login(request, **defaults)
