Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

docs/0.3/tutorial removed indentation before "raise web.seeother('/') #29

Merged
merged 1 commit into from

2 participants

Steve Koch Aaron Swartz
Steve Koch

I am new to almost all of this--first pull request on github, just started web.py today, working through Learn Python the Hard Way.

In anycase, I think I am correct that the indentation before "raise web.seeother('/') is a typo in the tutorial. In my own code, I needed to put it in line with n = ... and that also makes sense to me. Hope I'm right and this helps!

Aaron Swartz
Owner

Yeah, it should line up but now I think you have too little space. I'll tweak it. Thanks for noticing!

Aaron Swartz aaronsw merged commit 7d213d8 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/0.3/tutorial.md
2  docs/0.3/tutorial.md
View
@@ -225,7 +225,7 @@ Now add another class:
def POST(self):
i = web.input()
n = db.insert('todo', title=i.title)
- raise web.seeother('/')
+ raise web.seeother('/')
(Notice how we're using `POST` for this?)
Something went wrong with that request. Please try again.