forked from orbit-oss/flask
Fixed simple typo
This commit is contained in:
parent
4559e4f0f1
commit
2ba88eefb5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue