推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
iwillhappy1314
V2EX  ›  Python

Flask Jinja2 有类似于 tornado 的 uimodule 功能吗?

  •  
  •   iwillhappy1314 ·
    iwillhappy1314 · Dec 9, 2014 · 3855 views
    This topic created in 4213 days ago, the information mentioned may be changed or developed.
    tornado 的 uimodule 非常方便!想问一下 Flask Jinja2有没有这样的功能?熟悉Flask的帮忙解答一下。
    2 replies    2014-12-11 16:29:11 +08:00
    maga
        1
    maga  
       Dec 10, 2014
    怎么方便呢? 我直接没用过tornado 的uimodule, 直接用jinjia2
    iwillhappy1314
        2
    iwillhappy1314  
    OP
       Dec 11, 2014
    @maga 比如,有个最新文章模块,建个uimodule,数据和模块模板都在uimodule里,在任何页面随便调用。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3047 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 14:31 · PVG 22:31 · LAX 07:31 · JFK 10:31
    ♥ Do have faith in what you're doing.