Ticket #2474 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Trial Jinja 2 as templating system

Reported by: aron.carroll Owned by: aron.carroll
Priority: major Milestone: ckan-sprint-2012-06-25
Component: ckan Keywords: demo-theme
Cc: toby Repository: ckan
Theme: none


Percieved benefits of switching to Jinja 2

  • Block inheritance for base templates which is much simpler to understand.
  • Large number of developers (and designers) are familiar with it due to its similarities with the Django templates.
  • Should be much faster at parsing and rendering templates.
  • Has localisation support.
  • Good documentation both on it's website and on sites like Stack Overflow.

We should convert a couple of existing templates to test the switchover and then get peoples feedback.

Change History

comment:1 Changed 2 years ago by aron.carroll

  • Status changed from new to closed
  • Resolution set to fixed

Closing this as we've decided to go with Jinja.

There's some basic docs here:


And a template overview:


Generally it's worth looking at the Groups pages to see how they're built.

Note: See TracTickets for help on using tickets.