web/request.py
changeset 9818 e3d2012adcd0
parent 9736 e0b3fcf1c205
child 9821 2077c8da1893
--- a/web/request.py	Mon Jun 02 12:23:18 2014 +0200
+++ b/web/request.py	Fri May 23 18:17:44 2014 +0200
@@ -162,7 +162,7 @@
         self.ajax_request = value
     json_request = property(_get_json_request, _set_json_request)
 
-    def base_url(self, secure=None):
+    def _base_url(self, secure=None):
         """return the root url of the instance
 
         secure = False -> base-url
@@ -175,7 +175,7 @@
         if secure:
             base_url = self.vreg.config.get('https-url')
         if base_url is None:
-            base_url = super(_CubicWebRequestBase, self).base_url()
+            base_url = super(_CubicWebRequestBase, self)._base_url()
         return base_url
 
     @property