20121231¶
Switching from Cheetah Template to Jinja2¶
People who are used to templates now no longer get shocked when they read the The Lino Polls tutorial.
The content for the “admin” main page is no longer stored in a pages.Page, but directly in admin_main.html.
lino.apps.polls.tutorial
now uses a template
/lino/apps/polls/tutorials/templates/admin_main.html.
Converted /lino/ui/extjs3/linolib.js from Cheetah to Jinja.
TODO:
Add a PackageLoader for each INSTALLED_APPS
Integrate a solution for extracting messages between
trans
tags from templates. Current workaround is to use the _() function.
Miscellaneous¶
In lino_welfare I forgot to rename a ui.media_url to
lino.Lino.build_media_url()
.