foccy
V2EX  ›  问与答

关于 tornado 的 i18n, 如何在 RequestHandler 外调用?

  •  
  •   foccy · Jun 25, 2014 · 4003 views
    This topic created in 4533 days ago, the information mentioned may be changed or developed.
    RequestHandler里有self.locale.transalate可以调用, 设为_别名可以在模板里调用,那如果我有一个集成自wtforms的Form类,该怎么调用方法。求教~
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4567 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 08:13 · PVG 16:13 · LAX 00:13 · JFK 03:13
    ♥ Do have faith in what you're doing.