Skip to content

Commit 45beb56

Browse files
committed
Merge pull request #124 from phodal/patch-1
Update index.rst
2 parents ff7ce14 + fab5657 commit 45beb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ You can use MongoEngine and WTForms like so::
154154
if request.method == 'POST' and form.validate():
155155
# do something
156156
redirect('done')
157-
return render_response('add_post.html', form=form)
157+
return render_template('add_post.html', form=form)
158158

159159

160160
Supported fields

0 commit comments

Comments
 (0)