2009-11-25 | Paul Boddie | raw annotate files changeset graph | Added a test for empty identifiers in OpenID initiation. Changed the user identity to be the claimed identity (not the local identity from the provider) for users authenticated via OpenID. Made the local identities distinct from the claimed identities in the login/provider example. |
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 deploy 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 = deploy(resource, handle_errors=0) 17 18 # vim: tabstop=4 expandtab shiftwidth=4