Hello everybody,
I used Breve template engine for most of my Pylons projects and I
missed it when I switched to Pyramid so I wrote small module that
makes my life little easier.
It can be installed from PyPi as following:
easy_install pyramid_breve
or
pip install pyramid_breve
Once installed simply call config.include('pyramid_breve') during your
WSGI application configuration or add pyramid_breve to
pyramid.includes of your INI file. Then use breve templates for
rendering:
@view_config(renderer='my_app:templates/mytemplate.b')
def my_view(request):
return {}
It's also available for hacking at http://github.com/momyc/pyramid-breve.
This is very first version of it and I wouldn't recommend it for
production environment. Despite its small size there are bugs in it :)
- Alex K
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.