X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=trash%2Fsampleviews.py;h=e1c66d8c366454a2b38a2238c70d69dae52ecee6;hp=5d257a4ffa9237283cc5d787195b210c052c4477;hb=83f238a32f62a34370f24d69e85823c709d95627;hpb=f8a614d0271ddc3046e18d826df01f72a861257c 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'