Hi,

I am trying to follow the Tosca widgets tutorial, and I have come up
to two different problems.  I found that if you quickstart a project
without authentication, then the model/__init__.py file is missing the
DeclarativeBase setup.  I was getting an error on "paster setup_app"
until I added the following to the model/__init__.py file:

from sqlalchemy.ext.declarative import declarative_base
DeclarativeBase = declarative_base()
metadata = DeclarativeBase.metadata

I assume the same would be true for the DBSession

In the same project, when I tried to view the form that ToscaWidgets
created, I ended up with the html text written on the page.  Looking
at the source, the < and > chars were escaped to &lt; and &gt;

Did I do something wrong here?

~Sean

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