forked from orbit-oss/flask
Added missing comments, fixed setup.py and made tests pass
This commit is contained in:
parent
dd59d7241d
commit
4f8ee8f129
10 changed files with 103 additions and 12 deletions
16
flask/ctx.py
16
flask/ctx.py
|
|
@ -1,10 +1,24 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
flask.ctx
|
||||
~~~~~~~~~
|
||||
|
||||
Implements the objects required to keep the context.
|
||||
|
||||
:copyright: (c) 2010 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
from werkzeug.exceptions import HTTPException
|
||||
|
||||
from flask.wrappers import _RequestGlobals
|
||||
from flask.globals import _request_ctx_stack
|
||||
from flask.session import _NullSession
|
||||
|
||||
|
||||
class _RequestGlobals(object):
|
||||
pass
|
||||
|
||||
|
||||
class _RequestContext(object):
|
||||
"""The request context contains all request relevant information. It is
|
||||
created at the beginning of the request and pushed to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue