Importing all SQLAlchemy Models (question about the Cookbook article)

23 views
Skip to first unread message

Ryan

unread,
Nov 28, 2011, 7:10:26 PM11/28/11
to pylons...@googlegroups.com

I'm trying to follow the instructions under the "Importing all SQLAlchemy Models" heading. As ridiculous as this sounds, I got it working immeadiately (when I started my app in a pshell, 'model' was available in the global namespace), then shuffled around some of the lines in my __init__.py's main() function and haven't been able to get it working again.

Anyone else had success/failure with this approach? Any example code/apps beyond what's in the cookbook?

Joe Dallago

unread,
Nov 28, 2011, 10:26:00 PM11/28/11
to pylons...@googlegroups.com
I think you'll need to supply some code for us to see what is wrong.

> --
> You received this message because you are subscribed to the Google Groups
> "pylons-devel" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-devel/-/x7uxH6uh-FcJ.
> To post to this group, send email to pylons...@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-devel...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-devel?hl=en.

Reply all
Reply to author
Forward
0 new messages