X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fpage.py;h=c61d1593c37e59f3d8f11b92d055c9c8512fc473;hb=74a25f8b8d58726e9bda273a2fde04da83d5d913;hp=7f071c0bf46bb371e311ff6cf1330d732b0f9f8e;hpb=efc6ef6e1df9bb9543a0d15d6a36898da1481312;p=myslice.git diff --git a/unfold/page.py b/unfold/page.py index 7f071c0b..c61d1593 100644 --- a/unfold/page.py +++ b/unfold/page.py @@ -33,7 +33,8 @@ class Page: # queue of queries with maybe a domid, see enqueue_query self._queue=[] # global prelude object - self.prelude=Prelude(css_files=['css/plugin.css','css/onelab_marko.css',]) + # global requirements should go in base.html + self.prelude=Prelude() # record known plugins hashed on their domid def record_plugin (self, plugin): @@ -106,7 +107,7 @@ class Page: metadata_auth = {'AuthMethod':'anonymous'} metadata=MetaData (metadata_auth) - metadata.fetch() + metadata.fetch(self.request) # store it for next time manifold['metadata']=metadata if debug: print "Page.get_metadata: return new value"