Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @app.route('/a', methods=['GET', 'POST'])
- def a():
- form = data(request.form)
- if form.validate_on_submit():
- job = Job()
- job.title = form.title.data
- return redirect(url_for('users.b'))
- @app.route('/b', methods=['GET', 'POST'])
- def b():
- #access here the job.title previous defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement