X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fpage.py;h=b00194f8f66f8e74bc6d081505dc44801988ca9a;hb=c3b77f0611b19e3fa57357a0c961d1f39573985d;hp=bc8c01b2f4cd20cf18eaf2c2c39cdcda559e9432;hpb=20835fc7deb0d149293351f032af6e5d9e4a1952;p=unfold.git diff --git a/unfold/page.py b/unfold/page.py index bc8c01b2..b00194f8 100644 --- a/unfold/page.py +++ b/unfold/page.py @@ -61,7 +61,7 @@ class Page: # compute variables to expose to the template env = {} # expose the json definition of all queries - env['queries_jsons'] = [ query.to_json() for query in self._queries ] + env['queries_json'] = [ query.to_json() for query in self._queries ] env['query_uuid_domids'] = [ {'query_uuid' : a, 'domid': '"%s"'%b if b else 'null'} for (a,b) in self._queue ] javascript = render_to_string ("page-queries.js",env) self.reset_queue()