推荐学习书目
› 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
pc10201
V2EX  ›  Python

将 django 1.8 的模板切换到 jinja2,好不适应~

  •  
  •   pc10201 · May 6, 2015 · 3493 views
    This topic created in 4201 days ago, the information mentioned may be changed or developed.
    都说jinja2性能好,django 1.8终于自带了
    原来的模板是DjangoTemplates
    将django 1.8 的模板切换到jinja2,发现不是无痛的啊,好多地方都得重写~
    3 replies  •  2015-05-06 23:19:50 +08:00
    jun4rui
    jun4rui
    May 6, 2015
    1
    有转换器之类的吗?
    laike9m
    laike9m
    May 6, 2015
    2
    那当然了。。。
    maemual
    maemual
    May 6, 2015
    3
    还没尝试?哪些地方需要重写?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1556 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 90ms · UTC 17:38 · PVG 01:38 · LAX 09:38 · JFK 12:38
    ♥ Do have faith in what you're doing.