1. fero14041
  2. mako-benchmark-add_jinja

Commits

Show all
Author Commit Message Date Builds
Mike Bayer
- [bug] The "benchmark" example is now Python 3 compatible (even though several of those old template libs aren't available on Py3K, so YMMV) [ticket:175]
Tags
rel_0_6_0
Mike Bayer
wrong version here
Mike Bayer
- [feature] Added support for Beaker cache regions in templates. Usage of regions should be considered as superseding the very obsolete idea of passing in backend options, timeouts, etc. within templates. - rewrite the cache docs again which had a lot of misleading/inaccurate info.
Mike Bayer
rename 'put' to 'set'
Mike Bayer
get_and_replace is wrong, for now changed to get_or_create like dogpile.cache
Mike Bayer
move _load_impl down in __init__ so impls can get at things
Mike Bayer
cleanup, remove "site" builder, fix the titlebar
Mike Bayer
toot our horn
Mike Bayer
- ok init.js was from the sqlalchemy version - same root url fix
Mike Bayer
build in new readthedocs + mako site layout build
Mike Bayer
- [feature] Added module_writer argument to Template, TemplateLookup, allows a callable to be passed which takes over the writing of the template's module source file, so that special environment-specific steps can be taken. [ticket:181]
Mike Bayer
- [bug] Added "white-space:pre" style to html_error_template() for code blocks so that indentation is preserved [ticket:173]
Mike Bayer
- [bug] The exception message in the html_error_template is now escaped with the HTML filter. [ticket:142]
Mike Bayer
2012
Mike Bayer
- [feature/bug] Can now refer to context variables within extra arguments to <%block>, <%def>, i.e. <%block name="foo" cache_key="${somekey}">. Filters can also be used in this way, i.e. <%def name="foo()" filter="myfilter"> then template.render(myfilter=some_callable) [ticket:180]
Mike Bayer
propagate cache_impl from lookup to template , #179
Mike Bayer
fix genindex bug
Mike Bayer
update sphinx rendering to use built in jinja rendering for .js/.css files
Mike Bayer
- Added "--var name=value" option to the mako-render script, allows passing of kw to the template from the command line. [ticket:178]
Mike Bayer
upgrade docs to newer format from SQLA
Mike Bayer
modernize the README
Mike Bayer
make it more clear about what "context" is called in a template
Mike Bayer
add classifiers
Mike Bayer
undo all that pkg_resources crap and just cache what we get from iter_entry_points. pkg_resources API feels very fragile
Mike Bayer
install extreme hoops for pkg_resources and I'm starting to wonder if I really want to do it like this
Mike Bayer
pkg_resources hoops
Mike Bayer
need this too
Mike Bayer
branch merge, hooray
Mike Bayer
Added tag rel_0_5_0 for changeset b6d322beae3e
Mike Bayer
- Template caching has been converted into a plugin system, whereby the usage of Beaker is just the default plugin. Template and TemplateLookup now accept a string "cache_impl" parameter which refers to the name of a cache plugin, defaulting to the name 'beaker'. New plugins can be registered as pkg_resources entrypoints under the group "mako.cache", or registered directly using mako.cache.register_plugin(). The core plugin is the mako.cache.CacheImpl class. - The <%def>, <%block> and <%page> tags now accept any argument named "cache_*", and the key minus the "cache_" prefix will be passed as keyword arguments to the CacheImpl methods. - Template and TemplateLookup now accept an argument cache_args, which refers to a dictionary containing cache parameters. The cache_dir, cache_url, cache_type, cache_timeout arguments are deprecated (will…
  1. Prev
  2. Next