Document Templating Markup Language (DTML)
Project description
DocumentTemplate
This package implements the original Document Templating Markup Language (DTML). It uses custom SGML tags to implement simple programmatic features, such as variable replacement, conditional logic and loops.
Inside Zope environments page templates and TAL have superseded DTML for most use cases.
Changelog
3.1b1 (2019-05-13)
Bug fixes
Don’t call HTTPExceptions that are looked up in TemplateDicts
3.0 (2019-05-09)
Changes since 2.13.2:
Breaking changes
Replace C code with a pure-Python implementation.
Remove VSEval module. Please use DT_Util.EVal now.
Remove DTtestExpr module. It contained nothing useful.
Remove support for string exceptions in <dtml-except>. (#29)
Features
Add support for Python 3.5, 3.6, 3.7, 3.8.
Make the rendering encoding configurable to fix rendering on Zope 4. (#43)
Add __contains__ support to DocumentTemplate.TemplateDict.
Bug fixes
Only decode input in html_quote when needed under Python 3 (Products.PythonScripts#28 <https://github.com/zopefoundation/Products.PythonScripts/issues/28>_)
Make sure all JSON-serialized data is text data and not bytes. (#45)
Fix regression with exception handling in <dtml-except> with Python 2. (#25)
Stabilized TreeTag rendering for objects without _p_oid values. (#26)
Fix bugs with <dtml-in>:
Raise proper error if prefix is not simple.
Fix complex multisort in Python 3.
Fix iteration over list of tuples in Python 3.
Ensure html_quote is being applied to content.
2.13.2 (2011-12-12)
Restrict the available functions in DocumentTemplate.sequence to public API’s of zope.sequencesort.
2.13.1 (2010-07-15)
LP #143273: Enable the dtml-var modifiers url_quote, url_unquote, url_quote_plus and url_unquote_plus to handle unicode strings.
2.13.0 (2010-06-19)
Released as separate package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file DocumentTemplate-3.1b1.tar.gz
.
File metadata
- Download URL: DocumentTemplate-3.1b1.tar.gz
- Upload date:
- Size: 66.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b6e8c7385335c2ac3b3bb4a2af40906912da76f3829e88c0d0292fb4d7c4c33 |
|
MD5 | 4c106c7811d1e7a7fcfd63a9c2f76021 |
|
BLAKE2b-256 | 9bb2b9d7dc7b0a0074f9f1cfa5334f1261a4e52f25d25e1c80cd49eb0a70457c |
File details
Details for the file DocumentTemplate-3.1b1-py2.py3-none-any.whl
.
File metadata
- Download URL: DocumentTemplate-3.1b1-py2.py3-none-any.whl
- Upload date:
- Size: 89.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0fe1abbc384dc9da923c16175603debea450e6480d44a23226b67eadd2b9104 |
|
MD5 | 0e639bc92836bb6a5571b46cadb5965d |
|
BLAKE2b-256 | 86236b518d8d9f6e7f1dfb9c1f086abe9f7d85492f54952b68555fd8876a5293 |