Browse files

Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt ex…

…ample. Thanks,

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Aug 25, 2007
1 parent 6d387d3 commit b3103feead9c726d56cae09be92c2104f5a057e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/newforms.txt
@@ -1554,7 +1554,7 @@ as a custom extension to the ``TextInput`` widget::
class CommentWidget(forms.TextInput):
def __init__(self, *args, **kwargs):
kwargs.setdefault('attrs',{}).update({'size': '40'})
super(forms.TextInput, self).__init__(*args, **kwargs)
super(CommentWidget, self).__init__(*args, **kwargs)
Then you can use this widget in your forms::

0 comments on commit b3103fe

Please sign in to comment.