WebStack

examples/Webware/CalendarContext/__init__.py

493:c1e3e05d2ce4
2005-11-14 paulb [project @ 2005-11-14 14:41:27 by paulb] Added filesystem encoding workaround.
     1 #!/usr/bin/env python     2      3 """     4 Webware context for the Calendar application (post Webware 0.8.1).     5 """     6      7 from WebStack.Adapters.Webware import WebStackURLParser     8 from Calendar import CalendarResource     9     10 # NOTE: Initialising a shared resource.    11 # Choose or customise one of the following if the example fails.    12     13 resource = CalendarResource()    14 #resource = CalendarResource("iso-8859-1")    15     16 urlParser = WebStackURLParser(resource)    17     18 # vim: tabstop=4 expandtab shiftwidth=4