I've done a couple of very limited Django apps, and now I'm looking to
build something bigger and better in TurboGears.  I got frustrated
with Django's more closed structure, and am lured by the openness of
TG.  I chose to start with TG 1.1, given that SQLAlchemy and Genshi
look better than Kid/SQLObject.  So now I'm working through the Wiki20
tutorial.  After some struggle, I have everything working, except for
the Ajax part on page 6.

It seems like the MochiKit include in app.cfg is failing as
described.  Perhaps the instructions to add "tg.include_widgets =
['turbogears.mochikit']" is obsolete.  But I couldn't find any other
instructions for getting MochiKit loaded.  I hear JQuery is better,
but see even less help for getting started with it under TG.  The
tutorial uses MochiKit.

The error I get looks like this...
   ... a large stack trace ending in the final error:
   RuntimeError: Trying to render a widget, but Kid templating engine
is not yet loaded.

I assume the error is because the MochiKit widget assumes Kid?  How
can I load the library in a Genshi-compatible way?  Sorry, this is all
new territory for me.  So I'm probably not even asking the questions
well.

Finally, is 1.1 the best choice?  Or should I go back to 1.04 and give
up on SQLAlchemy and Genshi?  Or should I boldly go to 2.0?  I don't
want a big porting exercise down the road, if it can be avoided.

Thanks in advance for the help.

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