skip_relations is defined on FormMixIn tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 18 Feb 2009 11:46:03 +0100
branchtls-sprint
changeset 772 97b2b582e7f7
parent 771 ae1b0081ff30
child 773 eb846103be71
skip_relations is defined on FormMixIn
web/views/baseforms.py
--- a/web/views/baseforms.py	Wed Feb 18 11:41:35 2009 +0100
+++ b/web/views/baseforms.py	Wed Feb 18 11:46:03 2009 +0100
@@ -216,12 +216,12 @@
     dynamic default values such as the 'tomorrow' date or the user's login
     being connected
     """    
+    id = 'edition'
     __select__ = one_line_rset() & implements('Any')
 
-    id = 'edition'
     title = _('edition')
     controller = 'edit'
-    skip_relations = EntityView.skip_relations.copy()
+    skip_relations = FormMixIn.skip_relations.copy()
     
     EDITION_BODY = u'''\
  %(errormsg)s