예제 #1
0
파일: templating.py 프로젝트: neithere/tool
def add_request_to_templating_env(*args, **kwargs):
    logger.debug('Updating templating environment for the fresh Request object...')

    plugin = get_feature(FEATURE)
    plugin.update_template_context({'request': kwargs['sender']})