Edgewall Software

Opened 18 years ago

Closed 18 years ago

#17 closed enhancement (fixed)

A way to define local variables

Reported by: jonas Owned by: cmlenz
Priority: major Milestone: 0.1
Component: Template processing Version:
Keywords: Cc:

Description

A common use case for the kid "<?python?>" directive is to define local variables. This can be required to for example avoid unnecessary database accesses when a propery/function needs to be accessed multiple times.

Attachments (1)

with-directive.patch (2.5 KB) - added by jonas 18 years ago.
A patch that implements a pascal-like py:with directive.

Download all attachments as: .zip

Change History (2)

Changed 18 years ago by jonas

A patch that implements a pascal-like py:with directive.

comment:1 Changed 18 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from new to closed

py:with added in [121].

Note: See TracTickets for help on using tickets.