V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lbfeng
V2EX  ›  Flask

如何为当前用户保存一个变量,并可以在不同的 blueprint 之中使用。

  •  
  •   lbfeng · Jan 19, 2016 · 2875 views
    This topic created in 3755 days ago, the information mentioned may be changed or developed.

    一个变量在新的线程启动时被创建。在不同 blueprint 的 view function 中可以被修改并保存。

    1 replies    2016-01-19 23:01:43 +08:00
    ethego
        1
    ethego  
       Jan 19, 2016   ❤️ 1
    session 、 redis 、 memcache
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2598 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    ♥ Do have faith in what you're doing.