diff options
Diffstat (limited to 'examples/partials_with_lambdas.py')
-rw-r--r-- | examples/partials_with_lambdas.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/partials_with_lambdas.py b/examples/partials_with_lambdas.py index 4c3ee97..463a3ce 100644 --- a/examples/partials_with_lambdas.py +++ b/examples/partials_with_lambdas.py @@ -1,8 +1,6 @@ -import pystache from examples.lambdas import rot -class PartialsWithLambdas(pystache.View): - template_path = 'examples' - +class PartialsWithLambdas(object): + def rot(self): return rot
\ No newline at end of file |