entity.py
branchtls-sprint
changeset 1578 73af05429cb4
parent 1533 bcd4bfff658b
child 1582 67a86c70e42e
--- a/entity.py	Thu Apr 30 12:36:14 2009 +0200
+++ b/entity.py	Thu Apr 30 12:36:33 2009 +0200
@@ -128,7 +128,7 @@
                         wdgname = 'TextInput'
                     widget = getattr(formwidgets, wdgname)
                     AutomaticEntityForm.rwidgets.tag_relation(
-                        wdgname, (etype, rtype, '*'), 'subject')
+                        widget, (etype, rtype, '*'), 'subject')
         return super(_metaentity, mcs).__new__(mcs, name, bases, classdict)