vendredi 24 juillet 2015

Randomize elements of a list in jinja 2

Is it possible to random sort a list in jinja 2?

Given a list like (1, 2, 3) get different results each run like:

(3, 2, 1)
(3, 1, 2)
.....




Aucun commentaire:

Enregistrer un commentaire