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 #1944 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

tg.config is used as a class

Reported by: Gustavo Owned by: Gustavo
Priority: high Milestone:
Component: TurboGears Version: trunk
Severity: normal Keywords:
Cc:

Description

In some modules of a quickstarted package, tg.config is used as a class, but the class is actually tg.config.config.

So, imports such as

from tg import config

should be changed to

from tg.config import config

Check [5130] for the exact lines that need to be changed.

Change History

comment:1 Changed 11 years ago by mramm

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

config module renamed to configuration config class imported in tg

imports in the template all fixed to do

from tg import config

comment:2 Changed 10 years ago by anonymous

  • Milestone 1.9.7a4 deleted

Milestone 1.9.7a4 deleted

Note: See TracTickets for help on using tickets.