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 #1749 (closed defect: duplicate)

Opened 11 years ago

Last modified 11 years ago

[PATCH] Don't import the RootController before setting up the environment

Reported by: lmacken Owned by: anonymous
Priority: normal Milestone: 2.0
Component: TurboGears Version: trunk
Severity: normal Keywords:
Cc:

Description

Currently the RootController? gets imported *before* the Pylons environment is loaded. This prevents us to detect the default templating engine from within the expose method.

Attached is patch to load the RootController? *after* we load the environment.

Attachments

tg2-root-environment.patch Download (796 bytes) - added by lmacken 11 years ago.
tg2-root-environment.patch

Change History

Changed 11 years ago by lmacken

tg2-root-environment.patch

comment:1 Changed 11 years ago by lmacken

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

This will be consolidated with ticket 1680.

Note: See TracTickets for help on using tickets.