flask

跳转 from flask import redirect 

@app.route('/')

 def index():

        return redirect('http://www.example.com')

posted @ 2017-02-16 14:29  Edwinma  阅读(86)  评论(0编辑  收藏  举报