remove the need for expose_queries, that gets done by prelude_env()
[myslice.git] / sample / querytableview.py
index 2e08abc..4b667aa 100644 (file)
@@ -72,9 +72,6 @@ class QueryTableView (TemplateView):
         # so we can sho who is logged
         template_env [ 'username' ] = the_user (request) 
     
-        # don't forget to run the requests
-        page.expose_queries ()
-
         # the prelude object in page contains a summary of the requirements() for all plugins
         # define {js,css}_{files,chunks}
         prelude_env = page.prelude_env()