Browse Source

Fixed simple typo

pull/1638/head
unknown 15 years ago committed by Armin Ronacher
parent
commit
2ba88eefb5
  1. 2
      docs/patterns/wtforms.rst

2
docs/patterns/wtforms.rst

@ -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

Loading…
Cancel
Save