Homec4science

jinja2utils: functions and filter to context

Authored by Esteban J. G. Gabancho <esteban.gabancho@cern.ch> on Aug 6 2013, 14:19.

Description

jinja2utils: functions and filter to context

  • Like for bfe_* it allows the admin user to add new functions, template_context_functions (tfn), to display content within a jinja template.
  • Adds the possibility to create new filters template_context_filters (tfi).

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Aug 13 2013, 15:43
Parents
R3600:b1283c7049fa: datastructures: lazy dictionaries addition
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:083b7698a833: jinja2utils: functions and filter to context (authored by Esteban J. G. Gabancho <esteban.gabancho@cern.ch>).Aug 13 2013, 15:43