Browse Source

Update __init__.py

pull/2600/head
Alaa Aqeel 7 years ago committed by GitHub
parent
commit
619db40611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      flask/__init__.py

5
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, \

Loading…
Cancel
Save