from engine.plugin import Plugin
class SimpleList (Plugin) :
-
- def render_content (self, request):
- return render_to_string ("widget-simplelist.html",
- self._settings)
+
+ def template (self): return "simplelist.html"
+
+ def media_js (): return [ 'js/simplelist.js' ]
+
+ def media_css (): return { 'all': ('css/simplelist.css'), }
+
+ # SimpleList is useless per se anyways
+ def title (self) : return "Title for Simple List"