On Jun 6, 2010, at 7:10 PM, Gio wrote:

> I'm trying to follow along with quick-wiki tutorial on the Pylons
> site:
> http://pylonshq.com/docs/en/1.0/tutorials/quickwiki_tutorial/#developing-quickwiki
> 
> After looking at some of the sqlalchemy documentation, I tried adding
> this to /model/meta.py:
> from sqlalchemy import Metadata
> metadata = Metadata()
> 
> Now i'm getting the error i'm getting is "cannot import Metadata".
> 
> I'm coming from a .NET background and i'm totally new to Python and
> Pylons, so any help you guys could offer would be greatly
> appreciated.

Unfortunately, the QuickWiki tutorial was not updated for 1.0 yet. I hadn't 
realized this prior to the 1.0 launch and am now trying to bring it up to date 
as quickly as I can get to it. The QuickWiki project itself was updated to 1.0, 
so if you want to see what the final product *should* look like, you can check 
it out from its repo with:
hg clone http://bytebucket.org/bbangert/quickwiki/

It's using the declarative model of SQLAlchemy which is the recommendation as 
its now the default documented style in the SQLAlchemy docs. Hopefully I should 
have the QuickWiki updated in the next few days. Sorry about the problems!

Cheers,
Ben

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

Reply via email to