Re: Zero padding an intger in templates

2008-04-24 Thread Matias Surdi
Matias Surdi escribió: > Hi. > > Which is the correct way to zero-pad an integer in templates? is there > any filter? > > Thanks a lot. > > > > > Found it: variable|stringformat:"04i" --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Zero padding an intger in templates

2008-04-24 Thread Matthias Kestenholz
Hi, On Thu, 2008-04-24 at 09:13 +0200, Matias Surdi wrote: > Hi. > > Which is the correct way to zero-pad an integer in templates? is there > any filter? > Yes: http://www.djangoproject.com/documentation/templates/#stringformat -- http://spinlock.ch/blog/ --~--~-~--~~-

Zero padding an intger in templates

2008-04-24 Thread Matias Surdi
Hi. Which is the correct way to zero-pad an integer in templates? is there any filter? Thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan