-
Notifications
You must be signed in to change notification settings - Fork 14
jayd3e-archive/deform_mako
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Preliminary work converting Deform templates to Mako Quickstart guide: __init__.py :: from deform import Form from project.lib import mako_renderer Form.set_default_renderer(mako_renderer) project/lib/__init.py :: from mako.template import Template def mako_renderer(tmpl_name, **kw): template = Template(filename='templates/%s.mako' % tmpl_name) return template.render(**kw)
About
A set of mako templates for the deform package.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published