dbapi.py
changeset 8537 e30d0a7f0087
parent 8404 3dcb117fb3b0
child 8538 00597256de18
--- a/dbapi.py	Fri Sep 07 14:01:59 2012 +0200
+++ b/dbapi.py	Mon Sep 10 14:00:09 2012 +0200
@@ -598,9 +598,9 @@
             esubpath.remove('views')
             esubpath.append(join('web', 'views'))
         config.init_cubes(cubes)
-        vpath = config.build_vregistry_path(reversed(config.cubes_path()),
-                                            evobjpath=esubpath,
-                                            tvobjpath=subpath)
+        vpath = config.build_appobjects_path(reversed(config.cubes_path()),
+                                             evobjpath=esubpath,
+                                             tvobjpath=subpath)
         self.vreg.register_objects(vpath)
 
     def use_web_compatible_requests(self, baseurl, sitetitle=None):