Re: Templates parameters

2006-05-27 Thread Ivan Sagalaev
Kilian CAVALOTTI wrote: >Currently, I have: >{% for l in list|dictsort:"name" %} >... >{% endfor %} > >I can replace "name" by a variable, but I'd also like to replace 'reversed' by >a variable, to be able to control the sort order from the GET payload. > >Is there a way to achieve this? Or anot

Templates parameters

2006-05-26 Thread Kilian CAVALOTTI
Hi djangonauts, I'd like an advice on the following problem: I try to display a sorted list in a template, according to GET parameters. I'd like to use the 'dictsort' filter and the 'reversed' keyword, since I'd like to sort on values created in the view, which are not present in DB. Currentl