推荐学习书目
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 · 3229 views
    This topic created in 4063 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
        1
    jun4rui  
       May 6, 2015
    有转换器之类的吗?
    laike9m
        2
    laike9m  
       May 6, 2015
    那当然了。。。
    maemual
        3
    maemual  
       May 6, 2015
    还没尝试?哪些地方需要重写?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   837 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 19:54 · PVG 03:54 · LAX 12:54 · JFK 15:54
    ♥ Do have faith in what you're doing.