self.add_to_settings ('with_datatables')
# SimpleList is useless per se anyways
- def title (self) : return "Title for Simple List"
-
def template_file (self): return "simplelist.html"
def requirements (self):
if self.with_datatables:
reqs['js_files'].append ("datatables/js/dataTables.js")
reqs['js_files'].append ("js/with-datatables.js")
- print self.classname(),reqs
return reqs
# for tests
# 'js_chunks' : "/* a javascript chunk */",