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

gae的 filter 能用中文吗?

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