On Monday, June 20, 2011 06:22:42 pm Noah Davis wrote: > Perhaps I'm doing something wrong, but when I plug that in I'm > getting: > > AttributeError: 'TestWidget' object has no attribute 'is_form' > > I'm working in a virtualenv, and simply replacing the contents of site- > packages/tw.forms-0.9.9... with the contents I pulled from Mercurial. > > Specifically: > > Module ?:4 in <Expression u'display_child(child)'> view > Module tw.core.base:765 in display_child view > > >> return widget.display(value_for(widget), **child_kw) > > Module tw.core.base:539 in display view > > >> kw = self.prepare_dict(value, kw) > > Module tw.forms.core:237 in prepare_dict view > > >> if self.needs_values_from_request(): > Module tw.forms.core:221 in needs_values_from_request view > > >> if w.is_form: > AttributeError: 'TestWidget' object has no attribute 'is_form'
I will take a look at this, will take a few days. Sorry for that. For the future: you can invoke python setup.py develop inside a working-copy of the tw.forms package. That will install it into the virtualenv & should make it the active tw.forms. If you want to be 100% sure, remove the existing tw.forms egg first. Then you can simply do "hg pull" to pull in the changes I will make over the course of the next few days ;) Diez -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

