Tornado Documentation
http://www.v2ex.com/tornado/
Tornado on GitHub
https://github.com/facebook/tornado/
Tornado Gists
http://tornadogists.org/
o618
V2EX  ›  Tornado

获取 reply_id 出错,如何解决?

  •  
  •   o618 · Feb 15, 2014 · 5064 views
    This topic created in 4490 days ago, the information mentioned may be changed or developed.
    reply_info = None
    form = ReplyForm(self)
    reply_info = {
    ...
    }


    reply_id = self.reply_model.get_reply(reply_info)


    File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
    OperationalError: (1054, "Unknown column 'None' in 'where clause'")
    1 replies    1970-01-01 08:00:00 +08:00
    mengzhuo
        1
    mengzhuo  
       Feb 17, 2014
    SQL语句写错了,不是Tornado问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3383 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 93c8b4a0 · 35ms · UTC 00:34 · PVG 08:34 · LAX 17:34 · JFK 20:34
    ♥ Do have faith in what you're doing.