2009-11-28 | Paul Boddie | raw annotate files changeset graph | Reverted local identifier changes in order to restore their URL/URI character. Introduced URL-encoding of identity information for non-ASCII characters, due to limitations in HTML 4. Introduced URL-encoding of the association handle since python-openid (2.0.2) does not like being presented with a handle containing non-ASCII characters. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.Django import deploy 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 calendar = deploy(resource, handle_errors=0) 12 13 # vim: tabstop=4 expandtab shiftwidth=4