when domid is not set, use a name that has the classname in it to avoid name clashes
[myslice.git] / trash / dashboard.py
index f1ce698..6d6de77 100644 (file)
@@ -43,7 +43,7 @@ def dashboard_view (request):
         sons=[ 
             QueryCode (
                 page=page,
-                title="Vizualize your query (no syntax highlight for now)",
+                title="Vizualize your query",
                 query=slices_query,
                 toggled=False,
                 ),
@@ -96,7 +96,7 @@ def dashboard_view (request):
     page.add_css_files ( 'css/dashboard.css')
     
     # don't forget to run the requests
-    page.exec_queue_asynchroneously ()
+    page.expose_queries ()
 
     # xxx create another plugin with the same query and a different layout (with_datatables)
     # show that it worls as expected, one single api call to backend and 2 refreshed views