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

"""Web user interface for Graduate Admissions.

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

from ll.xist.ns import html

from uw.local.webtools import web_main, wsgi_application

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

[docs]def main (): """Program entry point for GrAd Web UI. """ web_main (Cursor, wsgifunc)
[docs]def wsgi (demo_mode): return wsgi_application (Cursor, wsgifunc, demo_mode=demo_mode)