2007-01-18 | paulb | file changeset files shortlog | [project @ 2007-01-18 19:56:12 by paulb] Changed handle_errors to 1 throughout. |
paulb@548 | 1 | #!/usr/bin/env python |
paulb@548 | 2 | |
paulb@558 | 3 | from WebStack.Adapters.Django import deploy |
paulb@548 | 4 | from Calendar import CalendarResource |
paulb@548 | 5 | |
paulb@548 | 6 | # Choose or customise one of the following if the example fails. |
paulb@548 | 7 | |
paulb@548 | 8 | resource = CalendarResource() |
paulb@548 | 9 | #resource = CalendarResource("iso-8859-1") |
paulb@548 | 10 | |
paulb@611 | 11 | calendar = deploy(resource, handle_errors=1) |
paulb@548 | 12 | |
paulb@548 | 13 | # vim: tabstop=4 expandtab shiftwidth=4 |