req.py
branchstable
changeset 5290 15846058378b
parent 5199 ebb50479d2ab
child 5302 dfd147de06b2
child 5421 8167de96c523
--- a/req.py	Thu Apr 15 17:22:19 2010 +0200
+++ b/req.py	Thu Apr 15 17:28:27 2010 +0200
@@ -43,12 +43,10 @@
 
     request/session is the main resources accessor, mainly through it's vreg
     attribute:
-    :vreg:
-      the instance's registry
-    :vreg.schema:
-      the instance's schema
-    :vreg.config:
-      the instance's configuration
+
+    :attribute vreg: the instance's registry
+    :attribute vreg.schema: the instance's schema
+    :attribute vreg.config: the instance's configuration
     """
     def __init__(self, vreg):
         self.vreg = vreg
@@ -140,8 +138,8 @@
             raise Unauthorized(self._('only select queries are authorized'))
 
     def get_cache(self, cachename):
-        """
-        NOTE: cachename should be dotted names as in :
+        """cachename should be dotted names as in :
+
         - cubicweb.mycache
         - cubes.blog.mycache
         - etc.