X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trash%2Fsampleviews.py;h=e1c66d8c366454a2b38a2238c70d69dae52ecee6;hb=96cee46c470e64780546bd2a0a99859369b6634b;hp=5d257a4ffa9237283cc5d787195b210c052c4477;hpb=a1334d41a53aec4a8bf2ebd7f3c67244eb8ac1a8;p=myslice.git diff --git a/trash/sampleviews.py b/trash/sampleviews.py index 5d257a4f..e1c66d8c 100644 --- a/trash/sampleviews.py +++ b/trash/sampleviews.py @@ -84,8 +84,8 @@ def test_plugin_view (request): title='QuickFilter in main content', criterias=quickfilter_criterias, ) ] ) - # define 'unfold2_main' to the template engine - template_env [ 'unfold2_main' ] = main_plugin.render(request) + # define 'unfold_main' to the template engine + template_env [ 'unfold_main' ] = main_plugin.render(request) ########## related_plugin = StaticList (page=page, @@ -94,7 +94,7 @@ def test_plugin_view (request): list=hard_wired_slice_names, header='Slices') # likewise but on the side view - template_env [ 'unfold2_margin' ] = related_plugin.render (request) + template_env [ 'unfold_margin' ] = related_plugin.render (request) # more general variables expected in the template template_env [ 'title' ] = 'Test Plugin View'