Skip to content

Commit

Permalink
Merge pull request #180 from gisce/70561_mako_default_value_of_templates
Browse files Browse the repository at this point in the history
Add mako as default value of the template language
  • Loading branch information
lcbautista authored Mar 5, 2025
2 parents 3a6bca2 + 21fd917 commit 355eb91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion poweremail_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@ def _get_model_data_name_search(
'ref_ir_act_window': False,
'ref_ir_value': False,
'def_priority': lambda *a: '1',
'inline': lambda *a: False
'inline': lambda *a: False,
'template_language': lambda *a: 'mako',
}
_sql_constraints = [
('name', 'unique (name)', _('The template name must be unique!'))
Expand Down

0 comments on commit 355eb91

Please sign in to comment.