+from django.template.loader import render_to_string
+
from engine.plugin import Plugin
class SimpleList (Plugin) :
- def render_content (self):
- return """<ul><li>hard-wired one</li><li>manual two</li>
-<li>this is defined</li>
-<li>in plugins.simplelist.py</li>
-</ul>"""
+ def render_content (self, request):
+ return render_to_string ("widget-simplelist.html",{})