slice page almost empty
[unfold.git] / plugins / simplelist.py
index 5a97fcb..19abe28 100644 (file)
@@ -1,9 +1,9 @@
+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",
+                                 self._settings)