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 #433 (closed defect: worksforme)

Opened 13 years ago

Last modified 13 years ago

sample controller.py is not right formated

Reported by: Ivo Looser Owned by: anonymous
Priority: normal Milestone: 0.9
Component: Installation Version:
Severity: normal Keywords:
Cc:

Description

when i create a package with quickstart in the controller is a line like this...

    @turbogears.expose( html=".templates.login")

i think should be .templates.login should be prefixt with

    @turbogears.expose( html="packagename.templates.login")

Change History

comment:1 Changed 13 years ago by Jeff Watkins

  • Summary changed from sample controler.py is not right formated to sample controller.py is not right formated

The .templates.login notation is a shorthand that allows developers to skip the packagename portion making their templates relative to the current package.

Is there any particular reason for wanting the fully qualified name?

comment:2 Changed 13 years ago by anonymous

  • Milestone set to 0.9

comment:3 Changed 13 years ago by anonymous

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

in that way its ok for me.

In my Case i had just probems to go working with identity thats wy i thout this was one of the problems.

Note: See TracTickets for help on using tickets.