2010-02-24 | Paul Boddie | file changeset files shortlog | Added template:sort which controls the ordering of presented elements. Updated the example in order to demonstrate multiple-choice ordering using the translated choice labels. Updated various copyright headers. |
paulb@4 | 1 | #!/usr/bin/env python |
paulb@4 | 2 | |
paulb@68 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@100 | 4 | import PEP241 |
paulb@86 | 5 | |
paulb@100 | 6 | # Get a simple Web site. |
paulb@86 | 7 | |
paulb@100 | 8 | resource = PEP241.get_site() |
paulb@4 | 9 | |
paulb@4 | 10 | # Special magic incantation. |
paulb@4 | 11 | |
paulb@4 | 12 | print "Serving..." |
paulb@86 | 13 | deploy(resource, handle_errors=0) |
paulb@4 | 14 | |
paulb@4 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |