Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
关于 Flask 页面跳转的问题
wasp
·
Dec 4, 2018
· 2788 views
This topic created in 2807 days ago, the information mentioned may be changed or developed.
flask 怎么实现只有点击某个按钮才能跳转到其他页面,类似于用户只有登陆才能浏览内容(但不是登陆)。
flask
页面
登陆
按钮
2 replies
•
2018-12-05 10:55:15 +08:00
1
Mrkon
Dec 5, 2018
你的意思是重定向? (redirect)
还是说在表单中加入可以验证的参数,类似 token
2
szyp
Dec 5, 2018
楼上说的很清楚了,用重定向就可以了啊,不过要设置跳转页面的路由
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
4571 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 10:04
·
PVG 18:04
·
LAX 03:04
·
JFK 06:04
♥ Do have faith in what you're doing.
❯