On Wed, Dec 17, 2008 at 5:47 AM, percious <[email protected]> wrote: > > Hey guys. > > I'd like to add the following to the init_model() function in mode/ > __init__.py in the default template: > > metadata.bind = engine > > This is to allow dbsprockets (catwalk2) to have access to the bound > metadata. Without this change, those two items will not work out of > the box.
Binding the metadata and the engine may have averse consequences. Could we not make this conditional based on some config value instead? Florent. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
