Hi,
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

I've gotten as far as the "paster setup-app development.ini" line.

At first the error I was getting was related to "sa" not being defined
in model/__init__.py. I added this line to that module:
import sqlalchemy as sa

This lead to an error about the .metadata property not existing on
this line:
    pages_table = sa.Table('pages', meta.metadata,
                sa.Column('title', sa.types.Unicode(40),
primary_key=True),
                sa.Column('content', sa.types.UnicodeText(),
default='')
                )

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.

Thanks!
Gio.



-- 
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