From 619db40611ed72fea81bfe240184e5ae65475809 Mon Sep 17 00:00:00 2001 From: Alaa Aqeel Date: Wed, 17 Jan 2018 11:19:31 +0300 Subject: [PATCH] Update __init__.py --- flask/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flask/__init__.py b/flask/__init__.py index 23c11ee9..d9836645 100644 --- a/flask/__init__.py +++ b/flask/__init__.py @@ -22,13 +22,14 @@ from .app import Flask, Request, Response from .config import Config from .helpers import url_for, flash, send_file, send_from_directory, \ get_flashed_messages, get_template_attribute, make_response, safe_join, \ - stream_with_context + stream_with_context,Cookies from .globals import current_app, g, request, session, _request_ctx_stack, \ _app_ctx_stack from .ctx import has_request_context, has_app_context, \ after_this_request, copy_current_request_context from .blueprints import Blueprint -from .templating import render_template, render_template_string + # **NEW old_name to new_name +from .templating import render_template as render_view, render_template_string # the signals from .signals import signals_available, template_rendered, request_started, \