login/logout stuff working
[unfold.git] / plugins / simplelist.py
index 5a97fcb..2e06f4e 100644 (file)
@@ -1,9 +1,8 @@
+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",{})