We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9702100 commit 91f324fCopy full SHA for 91f324f
flask_wtf_tutorial/routes.py
@@ -13,7 +13,7 @@ def home():
13
def contact():
14
form = ContactForm()
15
if form.validate_on_submit():
16
- return redirect(url_for('success'), code=200)
+ return redirect(url_for('success'))
17
return render_template('contact.html',
18
form=form,
19
template='form-template')
@@ -23,7 +23,7 @@ def contact():
23
def signup():
24
form = SignupForm()
25
26
27
return render_template('signup.html',
28
29
0 commit comments