doc/book/en/devweb/views/reledit.rst
changeset 8665 e65af61bde7d
parent 7760 75d80ef524c7
child 10222 75d6096216d7
--- a/doc/book/en/devweb/views/reledit.rst	Thu Jan 10 13:03:38 2013 +0100
+++ b/doc/book/en/devweb/views/reledit.rst	Thu Jan 10 18:34:10 2013 +0100
@@ -68,7 +68,7 @@
 
 The behaviour of reledited attributes/relations can be finely
 controlled using the reledit_ctrl rtag, defined in
-:mod:`cubicweb.web.uicfg`.
+:mod:`cubicweb.web.views.uicfg`.
 
 This rtag provides four control variables:
 
@@ -93,7 +93,7 @@
 .. sourcecode:: python
 
     from logilab.mtconverter import xml_escape
-    from cubicweb.web.uicfg import reledit_ctrl
+    from cubicweb.web.views.uicfg import reledit_ctrl
     reledit_ctrl.tag_attribute(('Company', 'name'),
                                {'reload': lambda x:x.eid,
                                 'default_value': xml_escape(u'<logilab tastes better>')})
@@ -125,7 +125,7 @@
 
 .. sourcecode:: python
 
-    import uicfg.primaryview_display_ctrl as _pvdc
+    from cubicweb.web.views.uicfg import primaryview_display_ctrl as _pvdc
     _pvdc.tag_attribute(('Company', 'name'), {'vid': 'incontext'})
 
 To deactivate it everywhere it's used automatically, you may use the code snippet