This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
mandaye/mandaye/skel/example.module/wsgi.py

14 lines
266 B
Python

import os
from mandaye.server import MandayeApp
from {project_name} import config
from beaker.middleware import SessionMiddleware
os.environ['MANDAYE_CONFIG_MODULE'] = '{project_name}.config'
application = SessionMiddleware(MandayeApp(), config.session_opts)