web/views/editforms.py
changeset 4046 93d69d5dd3fa
parent 4045 f4a52abb6f4f
child 4053 7cc66b1d9183
--- a/web/views/editforms.py	Tue Dec 08 16:50:36 2009 +0100
+++ b/web/views/editforms.py	Tue Dec 08 16:56:56 2009 +0100
@@ -261,6 +261,8 @@
         return u''
     def append_field(self, *args):
         pass
+    def field_by_name(self, rtype, role):
+        return None
 
 class AutoClickAndEditFormView(ClickAndEditFormView):
     """same as ClickAndEditFormView but checking if the view *should* be applied