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

Opened 10 years ago

Last modified 10 years ago

TG2 config system not flexible enough

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

Description

We need to make it easier to put custom middleware exactly where you need it in TG2, we also need to make it easier to setup two SQLALchemy sessions, and otherwise make TG2 more flexible and easier to configure.

Change History

comment:1 Changed 10 years ago by mramm

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

This was fixed by breaking the middlware maker and the load_environment maker down into smaller callables, and making them all methods on the AppConfig? object. Now you can override them as you need to in app_cfg.py

comment:2 Changed 10 years ago by anonymous

  • Milestone 2.0-preview-2 deleted

Milestone 2.0-preview-2 deleted

Note: See TracTickets for help on using tickets.