# HG changeset patch
# User cmlenz
# Date 1176289322 0
# Node ID 9d3f275953b57e6204f23c71a8166f386dd579bd
# Parent 777143e274ed00db937f390f2317df9ee9a52b98
Fix undefined error in TurboGears example app, and some cleanup.
diff --git a/examples/turbogears/genshitest/controllers.py b/examples/turbogears/genshitest/controllers.py
--- a/examples/turbogears/genshitest/controllers.py
+++ b/examples/turbogears/genshitest/controllers.py
@@ -18,9 +18,7 @@
log.debug("Happy TurboGears Controller Responding For Duty")
return dict(now=time.ctime(),
widget=widgets.TextArea(name="widget_test",
- default="This is a test of using "
- "TurboGears widgets with "
- "Genshi",
+ default="Lorem ipsum",
rows=5, cols=40))
@expose(template="genshi-text:genshitest.templates.plain",
diff --git a/examples/turbogears/genshitest/templates/master.html b/examples/turbogears/genshitest/templates/master.html
--- a/examples/turbogears/genshitest/templates/master.html
+++ b/examples/turbogears/genshitest/templates/master.html
@@ -1,43 +1,36 @@
-
+
-
-
Congratulations, your TurboGears application is running as of now.
- -Take the following steps to dive right in:
+ -tg-admin sql create
" to create the tables in the databaseCongratulations, your TurboGears application is running as of + now.
-If you haven't already, you might check out some of the documentation.
+Thanks for using TurboGears! See you on the mailing list and the "turbogears" channel on irc.freenode.org!
++ Please see the online + documentation + for general information on Genshi. +
+Here's an example for using a TurboGears widget in a Genshi template:
${ET(widget.display())} -Here's a link to the output of a plain-text template.
++ And here's a link to the output of a plain-text + template. +
- +