git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manifoldapi now expects the URL as an argument to its constructor
[myslice.git]
/
unfold
/
page.py
diff --git
a/unfold/page.py
b/unfold/page.py
index
a9228ec
..
0ac131b
100644
(file)
--- a/
unfold/page.py
+++ b/
unfold/page.py
@@
-117,7
+117,9
@@
class Page:
metadata_auth = {'AuthMethod':'anonymous'}
metadata_auth = {'AuthMethod':'anonymous'}
- metadata = MetaData (metadata_auth)
+ from myslice.settings import config
+ url = config.manifold_url()
+ metadata = MetaData (url, metadata_auth)
metadata.fetch(self.request)
# store it for next time
manifold['metadata']=metadata
metadata.fetch(self.request)
# store it for next time
manifold['metadata']=metadata