[Checkins] SVN: grok/trunk/src/grok/interfaces.py document new
component
Philipp von Weitershausen
philikon at philikon.de
Wed Jan 10 13:28:09 EST 2007
Log message for revision 71891:
document new component
Changed:
U grok/trunk/src/grok/interfaces.py
-=-
Modified: grok/trunk/src/grok/interfaces.py
===================================================================
--- grok/trunk/src/grok/interfaces.py 2007-01-10 18:27:06 UTC (rev 71890)
+++ grok/trunk/src/grok/interfaces.py 2007-01-10 18:28:09 UTC (rev 71891)
@@ -184,6 +184,11 @@
"""Create a Grok PageTemplate object from ``template`` source
text. This can be used for inline PageTemplates."""
+ def PageTemplateFile(filename):
+ """Create a Grok PageTemplate object from a file specified by
+ ``filename``. It will be treated like an inline template
+ created with ``PageTemplate``."""
+
def Fields(*args, **kw):
"""Return a list of formlib fields based on interfaces and/or schema
fields."""
More information about the Checkins
mailing list