author | sylvain.thenault@logilab.fr |
Thu, 30 Apr 2009 13:06:44 +0200 | |
branch | tls-sprint |
changeset 1582 | 67a86c70e42e |
parent 1581 | 80ee6397c087 |
child 1583 | 1d6d0ea1cda1 |
--- a/entity.py Thu Apr 30 13:06:10 2009 +0200 +++ b/entity.py Thu Apr 30 13:06:44 2009 +0200 @@ -127,6 +127,7 @@ if wdgname == 'StringWidget': wdgname = 'TextInput' widget = getattr(formwidgets, wdgname) + assert hasattr(widget, 'render') AutomaticEntityForm.rwidgets.tag_relation( widget, (etype, rtype, '*'), 'subject') return super(_metaentity, mcs).__new__(mcs, name, bases, classdict)