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
· 4095 views
This topic created in 4911 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
·
843 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 682ms ·
UTC 20:50
·
PVG 04:50
·
LAX 13:50
·
JFK 16:50
♥ Do have faith in what you're doing.
❯