1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/WSGI/CalendarApp.py Thu Sep 27 22:48:48 2007 +0000
1.3 @@ -0,0 +1,18 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +# Uncomment and adjust the paths below if WebStack is not installed somewhere
1.7 +# on the PYTHONPATH.
1.8 +
1.9 +#import sys
1.10 +#sys.path.append("/home/paulb/Software/Python/WebStack")
1.11 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common")
1.12 +
1.13 +from WebStack.Adapters.WSGI import deploy
1.14 +from Calendar import CalendarResource
1.15 +
1.16 +# Choose or customise one of the following if the example fails.
1.17 +
1.18 +deploy(CalendarResource())
1.19 +#deploy(CalendarResource("iso-8859-1"))
1.20 +
1.21 +# vim: tabstop=4 expandtab shiftwidth=4