rmyers / webapp-improved

Automatically exported from code.google.com/p/webapp-improved
Other
0 stars 0 forks source link

Broken code in gettingstarted/usingwebapp2.html #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Copy all of the code from the section titled "Hello, webapp2"
2. Attempt to run your server
3.

What is the expected output? What do you see instead?
expected: You will see hello world

actual: A module error that 'app' does not exist

in helloworld.py, the following code needs to be updated:

application = webapp2.WSGIApplication([
    ('/', MainPage)
], debug=True)

it should be:

app = webapp2.WSGIApplication([
    ('/', MainPage)
], debug=True)

Original issue reported on code.google.com by lets.ema...@gmail.com on 14 Sep 2014 at 7:01