Re: x|add:-1 in templates doesn't work as I expect.

2013-04-23 Thread Marcos Borunda
for others looking for an answer, put your value between double quotes: Previous | Next El jueves, 6 de diciembre de 2007 15:44:32 UTC-6, J. Clifford Dyer escribió: > > Hello. > > I'm trying to get a template to render previous and next links on a series > of pages, as follows. > > Previous |

x|add:-1 in templates doesn't work as I expect.

2007-12-06 Thread J. Clifford Dyer
Hello. I'm trying to get a template to render previous and next links on a series of pages, as follows. Previous | Next And I've come across some unexpected behavior. The first line does not work (add:-1), while the second line does. The first line throws a TemplateSyntaxError ("add req