DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
mkeith

gae的 filter 能用中文吗?

  •  
  •   mkeith · Dec 16, 2010 · 4623 views
    This topic created in 5630 days ago, the information mentioned may be changed or developed.
    例如 filter('city = ', 北京)
    2 replies    1970-01-01 08:00:00 +08:00
    keakon
        1
    keakon  
       Dec 16, 2010
    让给你说的是datastore,答案是可以,不过你得写成filter('city =', u'北京')
    mkeith
        2
    mkeith  
    OP
       Dec 17, 2010
    @keakon 谢谢 我这样改了 可是匹配不出来 不知道是不是编码的问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1150 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:05 · PVG 02:05 · LAX 11:05 · JFK 14:05
    ♥ Do have faith in what you're doing.