Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #837 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

[PATCH] Alternative Py2.3 compatible quickstart templates

Reported by: simon Owned by: anonymous
Priority: normal Milestone: 1.0b1
Component: TurboGears Version: 0.9a5
Severity: normal Keywords: template, quickstart, 2.3
Cc:

Description

Attachments

quickstart-2.3-decorators.diff Download (5.1 KB) - added by Matt Good <tg@…> 11 years ago.

Change History

Changed 11 years ago by Matt Good <tg@…>

comment:1 Changed 11 years ago by Matt Good <tg@…>

This patch should do the trick using the ${b} and ${e} vars as suggested by Kevin (though I think he read my mind ;)

The only exception is the @property decorator for the SQLAlchemy user model which can't be used as [property] since there needs to be a method call in there for PJE's magic to work. I've converted it to the old postfix-style decoration, but maybe someone else can come up with a clean way to use property with the fancy decorators.

comment:2 Changed 11 years ago by Matt Good <tg@…>

  • Summary changed from Alternative Py2.3 compatible quickstart templates to [PATCH] Alternative Py2.3 compatible quickstart templates

comment:3 Changed 11 years ago by kevin

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

committed in [1567]. Thanks!

Note: See TracTickets for help on using tickets.