# HG changeset patch # User Sylvain Thénault # Date 1315303287 -7200 # Node ID 2cd77f21fd412a05bdacc362f4a0b36eec5f8045 # Parent 1b8b83ff9f6b513aee37f96fe1a6c39fd000f372 [book] section about how to disable reledit feature/view diff -r 1b8b83ff9f6b -r 2cd77f21fd41 doc/book/en/devweb/views/reledit.rst --- a/doc/book/en/devweb/views/reledit.rst Tue Sep 06 11:59:24 2011 +0200 +++ b/doc/book/en/devweb/views/reledit.rst Tue Sep 06 12:01:27 2011 +0200 @@ -116,7 +116,14 @@ which always work. +Disable `reledit` +***************** +By default, this feature is available on all attributes of every entity primary view. +If you want to disable `reledit` feature, you have to override by using uicfg: +.. sourcecode:: python + import uicfg.primaryview_display_ctrl as _pvdc + _pvdc.tag_attribute(('Company', 'name'), {'vid': 'incontext'})