Skip to content

Commit

Permalink
Fixed simple typo
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and mitsuhiko committed Apr 26, 2010
1 parent 4559e4f commit 2ba88ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/patterns/wtforms.rst
Expand Up @@ -42,7 +42,7 @@ In the view function, the usage of this form looks like this::
form.password.data)
db_session.add(user)
flash('Thanks for registering')
redirect(url_for('login'))
return redirect(url_for('login'))
return render_template('register.html', form=form)

Notice that we are implying that the view is using SQLAlchemy here
Expand Down

0 comments on commit 2ba88ee

Please sign in to comment.