[Checkins] SVN: grokproject/trunk/ use chameleon templates by default

Jan Wijbrand Kolman cvs-admin at zope.org
Wed May 2 11:55:34 UTC 2012


Log message for revision 125611:
  use chameleon templates by default

Changed:
  U   grokproject/trunk/CHANGES.txt
  U   grokproject/trunk/grokproject/template/setup.py_tmpl
  A   grokproject/trunk/grokproject/template/src/+package+/app_templates/index.cpt_tmpl
  D   grokproject/trunk/grokproject/template/src/+package+/app_templates/index.pt_tmpl

-=-
Modified: grokproject/trunk/CHANGES.txt
===================================================================
--- grokproject/trunk/CHANGES.txt	2012-05-02 10:31:06 UTC (rev 125610)
+++ grokproject/trunk/CHANGES.txt	2012-05-02 11:55:30 UTC (rev 125611)
@@ -4,9 +4,9 @@
 2.7 (unreleased)
 ----------------
 
-- Nothing changed yet.
+- Include grokcore.chameleon. Have the generated index view template be
+  a chameleon based template.
 
-
 2.6 (2011-05-26)
 ----------------
 

Modified: grokproject/trunk/grokproject/template/setup.py_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/setup.py_tmpl	2012-05-02 10:31:06 UTC (rev 125610)
+++ grokproject/trunk/grokproject/template/setup.py_tmpl	2012-05-02 11:55:30 UTC (rev 125611)
@@ -23,6 +23,7 @@
                         'grokui.admin',
                         'fanstatic',
                         'zope.fanstatic',
+                        'grokcore.chameleon',
                         'grokcore.startup',${install_requires|nothing}
                         # Add extra requirements here
                         ],

Added: grokproject/trunk/grokproject/template/src/+package+/app_templates/index.cpt_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/src/+package+/app_templates/index.cpt_tmpl	                        (rev 0)
+++ grokproject/trunk/grokproject/template/src/+package+/app_templates/index.cpt_tmpl	2012-05-02 11:55:30 UTC (rev 125611)
@@ -0,0 +1,11 @@
+<html>
+<head>
+</head>
+<body>
+  <h1>Congratulations!</h1>
+  <p>Your Grok application is up and running.
+  Edit <code>${package}/app_templates/index.pt</code> to change
+  this page.</p>
+  <img tal:attributes="src static['evencaveman.jpg']"/>
+</body>
+</html>

Deleted: grokproject/trunk/grokproject/template/src/+package+/app_templates/index.pt_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/src/+package+/app_templates/index.pt_tmpl	2012-05-02 10:31:06 UTC (rev 125610)
+++ grokproject/trunk/grokproject/template/src/+package+/app_templates/index.pt_tmpl	2012-05-02 11:55:30 UTC (rev 125611)
@@ -1,12 +0,0 @@
-<html>
-<head>
-</head>
-<body>
-  <h1>Congratulations!</h1>
-
-  <p>Your Grok application is up and running.
-  Edit <code>${package}/app_templates/index.pt</code> to change
-  this page.</p>
-  <img tal:attributes="src static/evencaveman.jpg"/>
-</body>
-</html>



More information about the checkins mailing list