step5 오류 수정
This commit is contained in:
4
app.py
4
app.py
@@ -149,6 +149,10 @@ def step4():
|
|||||||
@require_auth
|
@require_auth
|
||||||
def step5():
|
def step5():
|
||||||
"""5단계: 간증문 입력"""
|
"""5단계: 간증문 입력"""
|
||||||
|
if request.method == 'GET':
|
||||||
|
testimony = session.get('testimony', {})
|
||||||
|
return render_template('step5.html', testimony=testimony)
|
||||||
|
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
session['testimony'] = data
|
session['testimony'] = data
|
||||||
|
|||||||
Reference in New Issue
Block a user