Implemented flask.has_request_context()

This commit is contained in:
Armin Ronacher 2011-03-14 16:13:58 -04:00
parent f58c98904f
commit fbd488678f
5 changed files with 48 additions and 0 deletions

View file

@ -21,6 +21,7 @@ from .helpers import url_for, jsonify, json_available, flash, \
send_file, send_from_directory, get_flashed_messages, \
get_template_attribute, make_response
from .globals import current_app, g, request, session, _request_ctx_stack
from .ctx import has_request_context
from .module import Module
from .templating import render_template, render_template_string
from .session import Session