I think you should not do this, do this kinf of logic on controller, model
or module.
On Wed, May 30, 2012 at 11:08 AM, BlueShadow wrote:
> Hi I like to put a for-loop in a try except clause in an html file.
> My problem is that the pass from the for loop terminates the try block.
> {{try:}}
> {
Hi I like to put a for-loop in a try except clause in an html file.
My problem is that the pass from the for loop terminates the try block.
{{try:}}
{{for x in db.test}}
{{=x.title}}
{{pass}}
{{except:}}
no database entries
{{pass}}
2 matches
Mail list logo