[Checkins] SVN: grok/www/index.html Changed the sample code again, it still works

Darryl Cousins darryl at darrylcousins.net.nz
Fri Apr 13 21:02:17 EDT 2007


Log message for revision 74128:
  Changed the sample code again, it still works

Changed:
  U   grok/www/index.html

-=-
Modified: grok/www/index.html
===================================================================
--- grok/www/index.html	2007-04-14 00:55:44 UTC (rev 74127)
+++ grok/www/index.html	2007-04-14 01:02:17 UTC (rev 74128)
@@ -82,12 +82,13 @@
     pass
 
 class Index(grok.View):
+    pass
 
-    render = grok.PageTemplate("""
-                <html><body>
-                    <p>ME GROK HELLO WORLD!</p>
-                </body></html>
-                """)
+index = grok.PageTemplate("""
+<html><body>
+<p>ME GROK HELLO WORLD!</p>
+</body></html>
+""")
 </pre>
 <ul class="simple">
 <li><a class="reference" href="http://www.z3lab.org/sections/blogs/philipp-weitershausen/2007_01_09_you-thought-zope-3-wasn">Herd of Mammoths</a> is a very simple application that only goes a bit beyond &quot;hello world&quot;.</li>



More information about the Checkins mailing list