1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/Django/calendarapp.py Sat Jan 14 01:53:54 2006 +0000
1.3 @@ -0,0 +1,14 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +from WebStack.Adapters import Django
1.7 +from Calendar import CalendarResource
1.8 +
1.9 +# Choose or customise one of the following if the example fails.
1.10 +
1.11 +resource = CalendarResource()
1.12 +#resource = CalendarResource("iso-8859-1")
1.13 +
1.14 +def calendar(request, *args):
1.15 + return Django.respond(request, resource, handle_errors=0)
1.16 +
1.17 +# vim: tabstop=4 expandtab shiftwidth=4