lodgeit/lodgeit/local.py
Iswarya_Vakati a1af412914 Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8 encoding

Change-Id: Ic4c35e70df0a1f3714c9a144c4b7fed9cd893aa2
2020-03-05 11:17:04 +00:00

19 lines
368 B
Python

"""
lodgeit.utils
~~~~~~~~~~~~~
Serveral utilities used by LodgeIt.
:copyright: 2008 by Christopher Grebs.
:license: BSD
"""
from werkzeug import Local, LocalManager, LocalProxy
#: context locals
ctx = Local()
_local_manager = LocalManager(ctx)
#: local objects
request = LocalProxy(ctx, 'request')
application = LocalProxy(ctx, 'application')