1 # Create your views here.
3 from django.core.context_processors import csrf
4 from django.template import RequestContext
5 from django.template.loader import render_to_string
6 from django.shortcuts import render_to_response
8 from plugins.simplelist import SimpleList
10 def test_plugin_view (request):
12 test_plugin = SimpleList (visible=True, hidable=True)
13 plugin_content = test_plugin.render ()
15 print '--------------------'
17 print '--------------------'
19 return render_to_response ('test-plugin.html',
20 {'content_main' : plugin_content},
21 context_instance=RequestContext(request))