if extra_context is not None:
    context.update(extra_context)
if current_app is not None:
    request.current_app = current_app
return TemplateResponse(request, template_name, context)
Django application deployed at suburl, redirect to home page after login