Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
Tornado Documentation
›
http://www.v2ex.com/tornado/
Tornado on GitHub
›
https://github.com/facebook/tornado/
Tornado Gists
›
http://tornadogists.org/
V2EX
›
Tornado
想用Storm做一个查询功能,如何用like匹配url传来的变量?
kenneth
·
Nov 29, 2012
· 4089 views
This topic created in 4909 days ago, the information mentioned may be changed or developed.
@
livid
wd = self.get_argument('wd')
store.find(App, App.title.like(u"三国%"))
如何用url传来的变量wd替换掉三国,总出现escape的问题,不知道url里的中文字符集是不是要处理下?
No Comments Yet
WD
URL
like
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3208 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms ·
UTC 10:56
·
PVG 18:56
·
LAX 03:56
·
JFK 06:56
♥ Do have faith in what you're doing.
❯