# HG changeset patch # User paulb # Date 1181504009 0 # Node ID 4768e80194a4ae4779a360b01de41bb642e9e919 # Parent de86ae31773086c37f793932a67fefea1f4431df [project @ 2007-06-10 19:33:29 by paulb] Added the host URL information for the VerySimpleWithLogin example. diff -r de86ae317730 -r 4768e80194a4 tools/demo.py --- a/tools/demo.py Sun Jun 10 19:33:16 2007 +0000 +++ b/tools/demo.py Sun Jun 10 19:33:29 2007 +0000 @@ -18,8 +18,10 @@ sys.path.append(base) sys.path.append(os.path.join(base, "examples", "Common")) +host = "http://localhost:8080" # or another absolute URL + import DemoApp -resource = DemoApp.get_site() +resource = DemoApp.get_site(host) # Try and open the application in a Web browser. # The preferred module is Paul's proposed desktop module - see #1301512 in @@ -33,7 +35,7 @@ except ImportError: import webbrowser as desktop - desktop.open("http://localhost:8080") + desktop.open(host) # Special magic incantation to start the demo.