I would like to use the class based views that pystache offers in my pyramid application, but I’m not entirely sure how to integrate the two properly. I’ve read this already, but it doesn’t talk about using the class based views.
How would I create a new renderer for pystache if I wanted to use class based views? Can somebody help me out here?
Also, while I already know how mustache works, I can’t seem to find much information on the python implementation (pystache). Can somebody point me in the right direction here?
Implement a
MustacheRendererFactory:Update your configurator setup, probably in
__init__.py:Use in your views: