Kevin, On Feb 14, 12:25 pm, "Kevin Horn" <[EMAIL PROTECTED]> wrote: > On Thu, Feb 14, 2008 at 11:27 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > [SNIP] > > > Maybe I didn't set this up right from the beginning. Is anyone doing a > > step-by-step tutorial of creating something with TG using SA or > > Elixir? > > > Mike > > Lee McFadden has an excellent TG + SA tutorial series on his blog. It > starts here:http://www.splee.co.uk/2006/10/14/simpleblog-part-1/ > > I think there are four parts. > > hope you find this useful, it cleared up a lot of questions for me. It's a > little outdated though, as I think he's using SA 0.3, but still worth a > read. > > Kevin Horn
This is a cool tutorial, but since I am using the latest SA, the shell code Lee has up there to add a record does not work. Do you know what the equivalent is? His code was: >>> p = Post() >>> p.title = "First post on simpleblog!" >>> p.content = """This is the first post using simpleblog. ... ... And so we continue coding...""" >>> p.flush() But the new SA doesn't have a flush(), commit() or save() method. I tried finding an equivalent through introspection using the dir() command, but I just can't find it. Sorry for all the dumb newb questions. Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

