On Jan 22, 2:27 am, Alessandro Molina <[email protected]>
wrote:
> On Sat, Jan 21, 2012 at 1:37 PM, Kalium <[email protected]> wrote:
> > I also have this problem and I have TG2.1.4
> > afaict the script in PasteScript (1.7.3) is expecting the setup_app()
> > in the websetup.py file.
>
> Well Paste expects websetup.setup_app, websetup can be both a module
> or a package.
> On TG2.0 it was a module, while on TG2.1 it is a package where
> setup_app is definied inside the __init__ of the package and calls
> schema.setup_schema and bootstrap.bootstrap to make easier to maintain
> and extend bootstrap.

My setup_app method is in websetup.bootstrap though, not __init__.
Indeed moving it to __init__ does pick it up. So have i missed a step,
why is it bootstrap.py and not __init__?

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en.

Reply via email to