req.py
changeset 5443 f299ee54d7e0
parent 5426 0d4853a6e5ee
child 5473 ee87c5352e63
--- a/req.py	Thu Apr 29 14:21:57 2010 +0200
+++ b/req.py	Thu Apr 29 14:21:59 2010 +0200
@@ -374,11 +374,11 @@
             raise ValueError(self._('can\'t parse %(value)r (expected %(format)s)')
                              % {'value': value, 'format': format})
 
-    # abstract methods to override according to the web front-end #############
-
     def base_url(self):
         """return the root url of the instance"""
-        raise NotImplementedError
+        return self.vreg.config['base-url']
+
+    # abstract methods to override according to the web front-end #############
 
     def describe(self, eid):
         """return a tuple (type, sourceuri, extid) for the entity with id <eid>"""