[sqlalchemy] Best Way to Display HTML with Turbogears

2007-11-12 Thread Wes Duff
Hello, I am looking for the best way to display HTML with turbogears. I am building a CMS and need to be able to display HTML when someone views the text content. I tried to do what the 20min wiki has done, but it did not work. Any help would be appreciated. Thanks Wes Duff

[sqlalchemy] Re: How to get list of relations

2007-10-29 Thread Wes Duff
Hey whats going on. I am a new sqlalchemist as well but lets see if this helps any. This is how I am getting a list of all names that corrispond with my document names class. names = [ c.name for c in model.Document.select_by(param=param) ] So I am just collecting all the names from my Document t

[sqlalchemy] Re: ActiveMapper -- Questions - NEED DOCUMENTATION

2007-10-23 Thread Wes Duff
Thanks alot for your info. Much appreciated. On 10/23/07, Wes Duff <[EMAIL PROTECTED]> wrote: > > I am working for a company right now that has all of thier database items > on Active Mapper. I would love to change to something with more > documentation. We plan on changing s

[sqlalchemy] Re: ActiveMapper -- Questions - NEED DOCUMENTATION

2007-10-23 Thread Wes Duff
wrote: > > > > On Oct 23, 2007, at 4:42 PM, Wes Duff wrote: > > > a = model.Docment.c.title > > > > should be that one > > > Would also help if there were some good documentation out there for > > ActiveMapper. > > > > P.S. I cannot change to

[sqlalchemy] ActiveMapper -- Questions - NEED DOCUMENTATION

2007-10-23 Thread Wes Duff
Hello, I was wondering if anyone can tell me how to access a column using active mapper. Or maybe you might know of a good documentational site for ActiveMapper? Here is a table example class Document(ActiveMapper): class mapping: __table__='document' id = col

[sqlalchemy] Re: multiple inserts of sqlalchemy instances?

2007-10-23 Thread Wes Duff
I have done something like this. I am using active mapper. I am new to all of this as well, but see if this helps any a = model.Document() a.first_name = kw.get('first_name') a.last_name = kw.get('last_name') b = model.Body() b.body_name = kw.get('body_name') And that is all I was doing of courc

[sqlalchemy] Basic Level 1 sqlalchemist

2007-10-10 Thread Wes Duff
foreign_key=ForeignKey('document.id')) Thanks for your help. Some day I will repay the group with my knowlege. Wes Duff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post