Child: [eb3bea] (diff)

Download this file

environment.py    18 lines (12 with data), 386 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# -*- coding: utf-8 -*-
"""WSGI environment setup for allura."""
import pylons
pylons.c = pylons.tmpl_context
pylons.g = pylons.app_globals
import pylons.middleware
import tg
import tg.error
from allura.config.app_cfg import base_config
__all__ = ['load_environment']
#Use base_config to setup the environment loader function
load_environment = base_config.make_load_environment()