[Grok-dev] Attribute error from Grok Development Book Chapter 5 source code.
webmaster at morningcat.com
Sun Jan 9 15:19:27 EST 2011
The way I got it to work was to not omit the field and hide in the widget.
self.widgets['next_id'].type = 'hidden'
self.widgets['next_id'].label = ''
self.widgets['next_id'].required = False
It works now and can add, but I'm wondering if this is the best way.
Also, how do I reply and make sure it says in this thread?
Is it just based on the subject?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Grok-dev