2006-01-14 | paulb | raw annotate files changeset graph | [project @ 2006-01-14 01:53:54 by paulb] Added Django example handlers. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters import Django 4 from Calendar import CalendarResource 5 6 # Choose or customise one of the following if the example fails. 7 8 resource = CalendarResource() 9 #resource = CalendarResource("iso-8859-1") 10 11 def calendar(request, *args): 12 return Django.respond(request, resource, handle_errors=0) 13 14 # vim: tabstop=4 expandtab shiftwidth=4