| 73 | |
| 74 | ==== Upgrading from Trac 1.2 to 1.4 #to1.4 |
| 75 | |
| 76 | ===== Jinja2 is the new template engine |
| 77 | |
| 78 | In Trac itself, all the content is now generated by using the Jinja2 template engine. |
| 79 | You may want to verify that your plugins are compatible with this change. |
| 80 | (TODO: expand...) |
| 81 | |
| 82 | If you customized the Trac templates, or the site.html template, you'll need to adapt that as well. |
| 83 | (TODO: expand...) |
| 84 | |
| 85 | Another "template" that will probably need to be updated are the e-mail notificition summaries, defined in the [[TracIni#notification-section| trac.ini, [notification] section]], for the `batch_subject_template` and `ticket_subject_template` settings. |
| 86 | |
| 87 | For example: |
| 88 | {{{#!ini |
| 89 | [notification] |
| 90 | ticket_subject_template = ${prefix} #${ticket.id}: ${summary} |
| 91 | }}} |
| 92 | (instead of `$prefix #$ticket.id: $summary`) |
| 93 | |