Hi Hal,

The official stance is that 2.3 is supported, but it's not the
encouraged platform. By that, I mean that all code in the turbogears.*
package is 2.3 compatible, but the examples and the quickstart
templates are geared toward 2.4 users.

Luckily, 0.9a5 includes a convenient syntax for decorators, which
should make changing a quickstart project a piece of cake.

@expose(template="...")

becomes

[expose(template="...")]

We have Phillip Eby and Simon Belak to thank for that little bit of magic.

The standard 2.3 way to use a decorator is:

index = expose(template="...")(index)

which is far less pleasant, and that's the reason why it's not the
default for quickstart.

Kevin

On 5/5/06, hal <[EMAIL PROTECTED]> wrote:
>
> I'm not seeing traffic on this issue, or open trac issues.
>
> However, there's at least one "obvious" bug in a 0.9a5 quickstart
> generated project (2.4. decorator, rather than 2.3 compatible syntax)
> which hasn't been reported, so it doesn't feel like anyone is using it.
>
> Before I start going through lots of issues - can anyone report
> success?
>
> Is there still demand for this? (My shop is stuck on py2.3 for a while
> yet....)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to