partials_with_lambdas.py 165 Bytes
Newer Older
1 2 3 4 5 6 7 8
import pystache
from examples.lambdas import rot

class PartialsWithLambdas(pystache.View):
    template_path = 'examples'
    
    def rot(self):
        return rot