Omitting the last comma in a series in a Jinja template

Jinja is a great Python template engine.This article explains how to omit the last comma in a series with Jinja. The desired result is shown below–this is an argument list for an SQL stored procedure. Note that the Id column needs a zero default value and there cannot be a comma after the last column. …

Omitting the last comma in a series in a Jinja template Read More »