Matthew Bevan wrote:
> On January 24, 2006 7:08 pm, Kevin Dangoor wrote:
> > Had this been released code, these changes would've been made in a
> > backwards compatible way... but, doing that in code that only exists
> > in the trunk seems like a bad idea.
>
> An interesting but otherwise unmentioned breaking change is the current
> inability to pass free-form **kwargs to the widget classes.  I /was/ passing
> some additional fields, like "description", when defining a form's widgets.
> I can no longer do this.
>
>   File "/home/mbevan/Projects/tgcms/content/widgets.py", line 37, in ?
>     description="Enter the display title of this asset. ...",
> TypeError: __init__() got an unexpected keyword argument 'description'
>
> And here I thought that was a damn spiffy feature - my form made good use of
> these extra values for tool-tips, etc.
>

Can you try the patch attached to this ticket?

http://trac.turbogears.org/turbogears/ticket/455

Ciao
Michele

Reply via email to