Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion pyTenjin Feature Requests
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
makoto kuwata  
View profile  
 More options Jun 6 2009, 9:49 am
From: makoto kuwata <kwa...@gmail.com>
Date: Sat, 6 Jun 2009 06:49:38 -0700 (PDT)
Local: Sat, Jun 6 2009 9:49 am
Subject: Re: pyTenjin Feature Requests
Steve,

> Can you tell me if it will also work with
> the indentation outside the py tag style?  Like this:
> <html>
>   <body>
>     <ul>
>       <?py if items: ?>
>         <?py for item in items: ?>
>           <li>#{item}</li>
>         <?py #endfor ?>
>       <?py #endif ?>
>     </ul>
>   </body>
> </html>

Yes, you can write in this style. There is no problem.

I'll include this feature in the next release.

>   My only concern is that some
> of the processing required to support #{@var} and the arbitrary
> initial indentation of <?py ?> statemen

Very little. Don't worry.
This cost raised only when template compilation and
no cost when template object is already cached.

--
regards,
makoto kuwata


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.