Ticket #837 (closed defect: fixed)

Opened 3 years ago

Last modified 1 year ago

[PATCH] Alternative Py2.3 compatible quickstart templates

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

Description

Discussion.

Attachments

quickstart-2.3-decorators.diff (5.1 kB) - added by Matt Good <tg@matt-good.net> on 05/10/06 21:59:08.

Change History

05/10/06 21:59:08 changed by Matt Good <tg@matt-good.net>

  • attachment quickstart-2.3-decorators.diff added.

05/10/06 22:09:45 changed by Matt Good <tg@matt-good.net>

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.

05/11/06 00:39:52 changed by Matt Good <tg@matt-good.net>

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

06/15/06 07:03:40 changed by kevin

  • status changed from new to closed.
  • resolution set to fixed.

committed in [1567]. Thanks!