Source code for uw.local.print_.bin.main_web

"""Web user interface for Print.

This is the FastCGI main program for the Web user interface to Print.
It also supports use of a localhost port for development purposes.
"""

from uw.local.webtools import web_main, wsgi_application

from ..db.cursor import Cursor
from ..webui.wsgifunc import wsgifunc

[docs]def main (): web_main (Cursor, wsgifunc)
[docs]def wsgi (demo_mode): return wsgi_application (Cursor, wsgifunc, demo_mode=demo_mode)