# HG changeset patch # User Pierre-Yves David # Date 1260287816 -3600 # Node ID 93d69d5dd3fabc1f4661885489c83b8db8a17c04 # Parent f4a52abb6f4f9def54026f126e333c263b0be2d3 add a dummy and stupid dummy method for dummy form diff -r f4a52abb6f4f -r 93d69d5dd3fa web/views/editforms.py --- 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